aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android/android.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/android/android.cpp')
-rw-r--r--backends/platform/android/android.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/backends/platform/android/android.cpp b/backends/platform/android/android.cpp
index 85d4817f29..7731c53873 100644
--- a/backends/platform/android/android.cpp
+++ b/backends/platform/android/android.cpp
@@ -438,10 +438,7 @@ bool OSystem_Android::pollEvent(Common::Event &event) {
updateScreenRect();
// double buffered, flip twice
- _force_redraw = true;
- updateScreen();
- _force_redraw = true;
- updateScreen();
+ clearScreen(kClearUpdate, 2);
event.type = Common::EVENT_SCREEN_CHANGED;
@@ -451,8 +448,8 @@ bool OSystem_Android::pollEvent(Common::Event &event) {
initSurface();
updateScreenRect();
- _force_redraw = true;
- updateScreen();
+ // double buffered, flip twice
+ clearScreen(kClearUpdate, 2);
event.type = Common::EVENT_SCREEN_CHANGED;