Skip to content

Commit

Permalink
ANDROID: Don't deinitialize the EGL surface when pausing the application
Browse files Browse the repository at this point in the history
Fixes Trac#6129
  • Loading branch information
ccawley2011 committed Aug 18, 2019
1 parent 0add13e commit 475eafc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions backends/platform/android/events.cpp
Expand Up @@ -766,8 +766,6 @@ bool OSystem_Android::pollEvent(Common::Event &event) {
}

if (JNI::pause) {
deinitSurface();

LOGD("main thread going to sleep");
sem_wait(&JNI::pause_sem);
LOGD("main thread woke up");
Expand Down

0 comments on commit 475eafc

Please sign in to comment.