Merge pull request #56717 from bruvzg/macos_opengl_hdr

This commit is contained in:
Rémi Verschelde 2022-01-12 11:35:31 +01:00 committed by GitHub
commit dc3b2e6ea2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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];