diff options
author | Paul Gilbert | 2014-05-20 08:37:42 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-05-20 08:37:42 -0400 |
commit | 8a08a19097b4338c73dc9456622b75233b9b0194 (patch) | |
tree | ecc7b90f90de253d33bba1a42fcfd7a766139cf6 /backends/platform/android/gfx.cpp | |
parent | 555b4dfd6e076dd5ef5cfc982fb5dbf3e211d198 (diff) | |
parent | c1890cc739d94c4310ec8933b8fca3f43b8df294 (diff) | |
download | scummvm-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.cpp | 4 |
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); |