mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-04 00:46:25 +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)
|
Android_PumpEvents_NonBlocking(_THIS)
|
||||||
{
|
{
|
||||||
SDL_VideoData *videodata = (SDL_VideoData *)_this->driverdata;
|
SDL_VideoData *videodata = (SDL_VideoData *)_this->driverdata;
|
||||||
static int backup_context;
|
static int backup_context = 0;
|
||||||
|
|
||||||
if (videodata->isPaused) {
|
if (videodata->isPaused) {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user