mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 15:24:07 +00:00
libobs-opengl: Fix Mac projector color space
Use sRGB instead of native display color space for correctness.
This commit is contained in:
parent
44eb8ffbb6
commit
2c7ef7d682
|
@ -197,7 +197,8 @@ struct gl_windowinfo *gl_windowinfo_create(const struct gs_init_data *info)
|
|||
struct gl_windowinfo *wi = bzalloc(sizeof(struct gl_windowinfo));
|
||||
|
||||
wi->view = info->window.view;
|
||||
[info->window.view setWantsBestResolutionOpenGLSurface:YES];
|
||||
wi->view.window.colorSpace = NSColorSpace.sRGBColorSpace;
|
||||
wi->view.wantsBestResolutionOpenGLSurface = YES;
|
||||
|
||||
return wi;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue