diff --git a/src/video/android/SDL_androidevents.c b/src/video/android/SDL_androidevents.c index 24a09ffd8..de560c96a 100644 --- a/src/video/android/SDL_androidevents.c +++ b/src/video/android/SDL_androidevents.c @@ -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) {