Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fix iOS build when SDL_POWER_UIKIT isn't defined.
Browse files Browse the repository at this point in the history
Thanks to Vittorio Giovara for the patch!
  • Loading branch information
icculus committed Nov 20, 2011
1 parent ada1968 commit 7925352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/uikit/SDL_uikitopengles.m
Expand Up @@ -79,7 +79,7 @@ int UIKit_GL_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context)

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
Expand Down

0 comments on commit 7925352

Please sign in to comment.