mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 04:55:34 +00:00
Android: add static variable initialization in non blocking event loop
This commit is contained in:
parent
cb18117c92
commit
2c92c8e85a
|
@ -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) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue