Android: add static variable initialization in non blocking event loop
This commit is contained in:
parent
d3bb4f2da6
commit
2ae3c2cc55
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue