Skip to content

Commit

Permalink
Fixed compiler warning on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 20, 2019
1 parent 0754860 commit 61827c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/video/android/SDL_androidevents.c
Expand Up @@ -49,12 +49,14 @@ static void openslES_ResumeDevices(void) {}
static void openslES_PauseDevices(void) {}
#endif

#if SDL_ANDROID_BLOCK_ON_PAUSE
/* Number of 'type' events in the event queue */
static int
SDL_NumberOfEvents(Uint32 type)
{
return SDL_PeepEvents(NULL, 0, SDL_PEEKEVENT, type, type);
}
#endif /* SDL_ANDROID_BLOCK_ON_PAUSE */

static void
android_egl_context_restore(SDL_Window *window)
Expand Down Expand Up @@ -186,7 +188,7 @@ Android_PumpEvents(_THIS)
}
}

#endif
#endif /* SDL_ANDROID_BLOCK_ON_PAUSE */

#endif /* SDL_VIDEO_DRIVER_ANDROID */

Expand Down

0 comments on commit 61827c6

Please sign in to comment.