mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 21:17:45 +00:00
Android: add static variable initialization in non blocking event loop
This commit is contained in:
@@ -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) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user