src/video/android/SDL_androidevents.c
changeset 7910 261addaa47d0
parent 7795 6acc7df4a175
child 8039 3b0346b37e0f
     1.1 --- a/src/video/android/SDL_androidevents.c	Wed Nov 06 09:48:45 2013 -0300
     1.2 +++ b/src/video/android/SDL_androidevents.c	Wed Nov 06 11:23:24 2013 -0300
     1.3 @@ -82,7 +82,9 @@
     1.4              isPaused = 0;
     1.5              
     1.6              /* Restore the GL Context from here, as this operation is thread dependent */
     1.7 -            android_egl_context_restore();
     1.8 +            if (!SDL_HasEvent(SDL_QUIT)) {
     1.9 +                android_egl_context_restore();
    1.10 +            }
    1.11          }
    1.12      }
    1.13      else {