mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-24 19:45:35 +00:00
Fixed building on tvOS
This commit is contained in:
parent
63848141c1
commit
af823cc1d9
|
@ -324,6 +324,7 @@ UIKit_QuitModes(_THIS)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !TARGET_OS_TV
|
||||||
void SDL_OnApplicationDidChangeStatusBarOrientation()
|
void SDL_OnApplicationDidChangeStatusBarOrientation()
|
||||||
{
|
{
|
||||||
BOOL isLandscape = UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation);
|
BOOL isLandscape = UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation);
|
||||||
|
@ -372,6 +373,7 @@ void SDL_OnApplicationDidChangeStatusBarOrientation()
|
||||||
SDL_SendDisplayEvent(display, SDL_DISPLAYEVENT_ORIENTATION, orientation);
|
SDL_SendDisplayEvent(display, SDL_DISPLAYEVENT_ORIENTATION, orientation);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif /* !TARGET_OS_TV */
|
||||||
|
|
||||||
#endif /* SDL_VIDEO_DRIVER_UIKIT */
|
#endif /* SDL_VIDEO_DRIVER_UIKIT */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue