aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/platform/android/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp
index 23e29fbf85..b71a98338b 100644
--- a/backends/platform/android/gfx.cpp
+++ b/backends/platform/android/gfx.cpp
@@ -760,7 +760,7 @@ void OSystem_Android::setMouseCursor(const void *buf, uint w, uint h,
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;
+ *d = 0;
_mouse_texture->updateBuffer(0, 0, w, h, tmp, pitch);