Skip to content
Permalink
Browse files

merge

  • Loading branch information
andythenorth committed Sep 7, 2019
2 parents 895c00c + 38b1277 commit 0789d45d7207605b34e50a8b4a51a0f62b0af6c8
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/video/cocoa/wnd_quartz.mm
@@ -289,7 +289,9 @@ - (void)drawRect:(NSRect)invalidRect
styleMask:style
backing:NSBackingStoreBuffered
defer:NO ];
[ this->window setColorSpace: [ [ [ NSColorSpace alloc ] initWithCGColorSpace:QZ_GetCorrectColorSpace() ] autorelease ] ];
if ([ this->window respondsToSelector:@selector(setColorSpace:) ]) {
[ this->window setColorSpace:[ [ [ NSColorSpace alloc ] initWithCGColorSpace:QZ_GetCorrectColorSpace() ] autorelease ] ];
}
if (this->window == nil) {
DEBUG(driver, 0, "Could not create the Cocoa window.");
this->setup = false;

0 comments on commit 0789d45

Please sign in to comment.
You can’t perform that action at this time.