mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-24 12:47:12 +01:00
Ported:
[macOS, 3.x] Fix OpenGL color space on HDR displays. - bruvzg
1f51bae294
This commit is contained in:
parent
9017b5bf26
commit
491662250f
@ -1612,6 +1612,8 @@ Error OS_OSX::initialize(const VideoMode &p_desired, int p_video_driver, int p_a
|
|||||||
[window_view setWantsBestResolutionOpenGLSurface:NO];
|
[window_view setWantsBestResolutionOpenGLSurface:NO];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[window_object setColorSpace:[NSColorSpace sRGBColorSpace]];
|
||||||
|
|
||||||
//[window_object setTitle:[NSString stringWithUTF8String:"PandemoniumEnginies"]];
|
//[window_object setTitle:[NSString stringWithUTF8String:"PandemoniumEnginies"]];
|
||||||
[window_object setContentView:window_view];
|
[window_object setContentView:window_view];
|
||||||
[window_object setDelegate:window_delegate];
|
[window_object setDelegate:window_delegate];
|
||||||
|
Loading…
Reference in New Issue
Block a user