Commit 6e6b517789d1ccf7138f5780c31af82f05e18e8e

Ryan C. Gordon 2020-04-07T23:34:41

cocoa: Patched to compile.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/cocoa/SDL_cocoawindow.m b/src/video/cocoa/SDL_cocoawindow.m
index bde2ed8..43c6dfa 100644
--- a/src/video/cocoa/SDL_cocoawindow.m
+++ b/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;