Fixed building on tvOS
This commit is contained in:
parent
a316223159
commit
0074b218ae
1 changed files with 2 additions and 0 deletions
|
@ -324,6 +324,7 @@ UIKit_QuitModes(_THIS)
|
|||
}
|
||||
}
|
||||
|
||||
#if !TARGET_OS_TV
|
||||
void SDL_OnApplicationDidChangeStatusBarOrientation()
|
||||
{
|
||||
BOOL isLandscape = UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation);
|
||||
|
@ -372,6 +373,7 @@ void SDL_OnApplicationDidChangeStatusBarOrientation()
|
|||
SDL_SendDisplayEvent(display, SDL_DISPLAYEVENT_ORIENTATION, orientation);
|
||||
}
|
||||
}
|
||||
#endif /* !TARGET_OS_TV */
|
||||
|
||||
#endif /* SDL_VIDEO_DRIVER_UIKIT */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue