mirror of
https://github.com/yawut/SDL.git
synced 2026-08-27 03:07:10 -05:00
This patch isn't needed because you have the window and can do [nswindow contentView] yourself.
I'm rolling this back so we minimize the things exposed that we have to keep consistent in the API.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user