aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android/gfx.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-05-20 08:37:42 -0400
committerPaul Gilbert2014-05-20 08:37:42 -0400
commit8a08a19097b4338c73dc9456622b75233b9b0194 (patch)
treeecc7b90f90de253d33bba1a42fcfd7a766139cf6 /backends/platform/android/gfx.cpp
parent555b4dfd6e076dd5ef5cfc982fb5dbf3e211d198 (diff)
parentc1890cc739d94c4310ec8933b8fca3f43b8df294 (diff)
downloadscummvm-rg350-8a08a19097b4338c73dc9456622b75233b9b0194.tar.gz
scummvm-rg350-8a08a19097b4338c73dc9456622b75233b9b0194.tar.bz2
scummvm-rg350-8a08a19097b4338c73dc9456622b75233b9b0194.zip
Merge branch 'master' into mads
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);