aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android/android.cpp
diff options
context:
space:
mode:
authordhewg2011-03-07 21:49:51 +0100
committerdhewg2011-03-07 23:42:20 +0100
commite71fb5b0eb9c9c68bf328d557f09a3191e0c8b8f (patch)
tree3e44ff61a7299e1822805f0ac5870a4aa2c7141a /backends/platform/android/android.cpp
parent920bae62c07d4248869637ff6896f09db5163c66 (diff)
downloadscummvm-rg350-e71fb5b0eb9c9c68bf328d557f09a3191e0c8b8f.tar.gz
scummvm-rg350-e71fb5b0eb9c9c68bf328d557f09a3191e0c8b8f.tar.bz2
scummvm-rg350-e71fb5b0eb9c9c68bf328d557f09a3191e0c8b8f.zip
ANDROID: Move the overlay initialization
There's no point in doing that in initSize() every time
Diffstat (limited to 'backends/platform/android/android.cpp')
-rw-r--r--backends/platform/android/android.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/android/android.cpp b/backends/platform/android/android.cpp
index 0cfe7c9a22..2be435c701 100644
--- a/backends/platform/android/android.cpp
+++ b/backends/platform/android/android.cpp
@@ -333,6 +333,8 @@ void OSystem_Android::initBackend() {
_mouse_texture_palette = new GLESPalette8888Texture();
_mouse_texture = _mouse_texture_palette;
+ initOverlay();
+
// renice this thread to boost the audio thread
if (setpriority(PRIO_PROCESS, 0, 19) < 0)
warning("couldn't renice the main thread");