Android: add static variable initialization in non blocking event loop

Sylvain Becker 2019-04-23 14:24:58 +02:00
parent cb18117c92
commit 2c92c8e85a
1 changed files with 1 additions and 1 deletions

View File

@ -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) {