added UIViewController pointer to SDL_SysWMinfo for iOS
This commit is contained in:
parent
850da41f50
commit
fb4a889ee9
2 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,7 @@ typedef struct _NSWindow NSWindow;
|
|||
#include <UIKit/UIKit.h>
|
||||
#else
|
||||
typedef struct _UIWindow UIWindow;
|
||||
typedef struct _UIViewController UIViewController;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -195,6 +196,7 @@ struct SDL_SysWMinfo
|
|||
struct
|
||||
{
|
||||
UIWindow *window; /* The UIKit window */
|
||||
UIViewController *viewcontroller; /* The UIKit view controller */
|
||||
} uikit;
|
||||
#endif
|
||||
/* Can't have an empty union */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue