Skip to content

Commit

Permalink
Android: add static variable initialization in non blocking event loop
Browse files Browse the repository at this point in the history
  • Loading branch information
1bsyl committed Apr 23, 2019
1 parent cb18117 commit 2c92c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/android/SDL_androidevents.c
Expand Up @@ -142,7 +142,7 @@ void
Android_PumpEvents_NonBlocking(_THIS)
{
SDL_VideoData *videodata = (SDL_VideoData *)_this->driverdata;
static int backup_context;
static int backup_context = 0;

if (videodata->isPaused) {

Expand Down

0 comments on commit 2c92c8e

Please sign in to comment.