Browse Source

cocoa: Patched to compile.

Ryan C. Gordon 5 years ago
parent
commit
6e6b517789
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/video/cocoa/SDL_cocoawindow.m

+ 1 - 1
src/video/cocoa/SDL_cocoawindow.m

@@ -318,7 +318,7 @@ SetWindowStyle(SDL_Window * window, NSUInteger style)
 {
     NSNotificationCenter *center;
     NSWindow *window = data->nswindow;
-    NSView *view = data->nsview;
+    NSView *view = data->sdlContentView;
 
     _data = data;
     observingVisible = YES;