21 #include "../../SDL_internal.h"
23 #if SDL_VIDEO_DRIVER_ANDROID
26 #define SDL_ANDROID_BLOCK_ON_PAUSE 1
32 #if !SDL_AUDIO_DISABLED
43 android_egl_context_restore()
57 android_egl_context_backup()
69 static int isPaused = 0;
70 #if SDL_ANDROID_BLOCK_ON_PAUSE
71 static int isPausing = 0;
80 #if SDL_ANDROID_BLOCK_ON_PAUSE
81 if (isPaused && !isPausing) {
83 android_egl_context_backup();
94 android_egl_context_restore();
99 #if SDL_ANDROID_BLOCK_ON_PAUSE
113 android_egl_context_backup();