aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android/gfx.cpp
diff options
context:
space:
mode:
authorlukaslw2014-06-22 19:59:00 +0200
committerlukaslw2014-06-22 20:00:45 +0200
commit5a8b68676b8f6b31123e88ebdfbef1be4e57a717 (patch)
tree02ea77ebb3e058a29e9c274fd8d5efd94bb6bab3 /backends/platform/android/gfx.cpp
parent770a45390d4422dc9cbcb213808861297ba8e620 (diff)
parentc340570138e84277d39c64aaa7fdaf6d8be2cefb (diff)
downloadscummvm-rg350-5a8b68676b8f6b31123e88ebdfbef1be4e57a717.tar.gz
scummvm-rg350-5a8b68676b8f6b31123e88ebdfbef1be4e57a717.tar.bz2
scummvm-rg350-5a8b68676b8f6b31123e88ebdfbef1be4e57a717.zip
Merge branch 'master' into prince-lukaslw
Diffstat (limited to 'backends/platform/android/gfx.cpp')
-rw-r--r--backends/platform/android/gfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp
index 92293493f0..b71a98338b 100644
--- a/backends/platform/android/gfx.cpp
+++ b/backends/platform/android/gfx.cpp
@@ -759,8 +759,8 @@ void OSystem_Android::setMouseCursor(const void *buf, uint w, uint h,
uint16 *d = (uint16 *)tmp;
for (uint16 y = 0; y < h; ++y, d += pitch / 2 - w)
for (uint16 x = 0; x < w; ++x, d++)
- if (*s++ != (keycolor & 0xffff))
- *d |= 1;
+ if (*s++ == (keycolor & 0xffff))
+ *d = 0;
_mouse_texture->updateBuffer(0, 0, w, h, tmp, pitch);