summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-12 11:35:31 +0100
committerGitHub <noreply@github.com>2022-01-12 11:35:31 +0100
commitdc3b2e6ea26ae6d76dfdfa180d3dbd59cd8d0df8 (patch)
treeb37f80a0cf74cb247bfbad071df965b972a02a0b /platform
parent7cd6ff322042118badbaa0bdb4ca041b4ff87801 (diff)
parenta38f56cfc3fbd1f0132e07577986bcfc5fdbeb63 (diff)
Merge pull request #56717 from bruvzg/macos_opengl_hdr
Diffstat (limited to 'platform')
-rw-r--r--platform/osx/display_server_osx.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/osx/display_server_osx.mm b/platform/osx/display_server_osx.mm
index 2465334f84..27d302a984 100644
--- a/platform/osx/display_server_osx.mm
+++ b/platform/osx/display_server_osx.mm
@@ -3575,6 +3575,7 @@ DisplayServerOSX::WindowID DisplayServerOSX::_create_window(WindowMode p_mode, V
[wd.window_object setDelegate:wd.window_delegate];
[wd.window_object setAcceptsMouseMovedEvents:YES];
[wd.window_object setRestorable:NO];
+ [wd.window_object setColorSpace:[NSColorSpace sRGBColorSpace]];
if ([wd.window_object respondsToSelector:@selector(setTabbingMode:)]) {
[wd.window_object setTabbingMode:NSWindowTabbingModeDisallowed];