aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android
diff options
context:
space:
mode:
authorCameron Cawley2019-08-18 22:46:25 +0100
committerCameron Cawley2019-08-18 22:48:08 +0100
commit475eafc6c6fda083d7770d6bcde018f9ad1c77b3 (patch)
tree6ba9eff6e1a6c881526bfe2f2f1ebf35a12c51d8 /backends/platform/android
parent0add13ed4375adf532ddf84394022bc212643eea (diff)
downloadscummvm-rg350-475eafc6c6fda083d7770d6bcde018f9ad1c77b3.tar.gz
scummvm-rg350-475eafc6c6fda083d7770d6bcde018f9ad1c77b3.tar.bz2
scummvm-rg350-475eafc6c6fda083d7770d6bcde018f9ad1c77b3.zip
ANDROID: Don't deinitialize the EGL surface when pausing the application
Fixes Trac#6129
Diffstat (limited to 'backends/platform/android')
-rw-r--r--backends/platform/android/events.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/backends/platform/android/events.cpp b/backends/platform/android/events.cpp
index 4045bb5a95..634a84002f 100644
--- a/backends/platform/android/events.cpp
+++ b/backends/platform/android/events.cpp
@@ -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");