mirror of
https://github.com/yawut/SDL.git
synced 2026-08-26 10:44:39 -05:00
Fix iOS build when SDL_POWER_UIKIT isn't defined.
Thanks to Vittorio Giovara for the patch!
This commit is contained in:
@@ -79,7 +79,7 @@ UIKit_GL_LoadLibrary(_THIS, const char *path)
|
||||
|
||||
void UIKit_GL_SwapWindow(_THIS, SDL_Window * window)
|
||||
{
|
||||
#ifdef SDL_POWER_UIKIT
|
||||
#if SDL_POWER_UIKIT
|
||||
// Check once a frame to see if we should turn off the battery monitor.
|
||||
SDL_UIKit_UpdateBatteryMonitoring();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user