diff options
-rw-r--r-- | include/SDL_syswm.h | 2 | ||||
-rw-r--r-- | src/video/cocoa/SDL_cocoawindow.m | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/include/SDL_syswm.h b/include/SDL_syswm.h index 539724f9e7..3ea026b44d 100644 --- a/include/SDL_syswm.h +++ b/include/SDL_syswm.h @@ -82,7 +82,6 @@ struct SDL_SysWMinfo; #include <Cocoa/Cocoa.h> #else typedef struct _NSWindow NSWindow; -typedef struct _NSView NSView; #endif #endif @@ -188,7 +187,6 @@ struct SDL_SysWMinfo struct { NSWindow *window; /* The Cocoa window */ - NSView *view; /* The Cocoa view */ } cocoa; #endif #if defined(SDL_VIDEO_DRIVER_UIKIT) diff --git a/src/video/cocoa/SDL_cocoawindow.m b/src/video/cocoa/SDL_cocoawindow.m index a3053075e6..bb30391fa5 100644 --- a/src/video/cocoa/SDL_cocoawindow.m +++ b/src/video/cocoa/SDL_cocoawindow.m @@ -1133,7 +1133,6 @@ Cocoa_GetWindowWMInfo(_THIS, SDL_Window * window, SDL_SysWMinfo * info) if (info->version.major <= SDL_MAJOR_VERSION) { info->subsystem = SDL_SYSWM_COCOA; info->info.cocoa.window = nswindow; - info->info.cocoa.view = [nswindow contentView]; return SDL_TRUE; } else { SDL_SetError("Application not compiled with SDL %d.%d\n", |