diff options
author | dhewg | 2011-04-06 21:15:15 +0200 |
---|---|---|
committer | dhewg | 2011-04-06 21:15:15 +0200 |
commit | 4f09018b00007fc9acc6ac7b7930aa57ae392d02 (patch) | |
tree | cb198bdefb90d8f8a64fc66ffeebc7adacb46316 /backends | |
parent | a565e63c48b2bb55b9e1197addddd3c03cf85c48 (diff) | |
download | scummvm-rg350-4f09018b00007fc9acc6ac7b7930aa57ae392d02.tar.gz scummvm-rg350-4f09018b00007fc9acc6ac7b7930aa57ae392d02.tar.bz2 scummvm-rg350-4f09018b00007fc9acc6ac7b7930aa57ae392d02.zip |
ANDROID: Allow linear texture filtering on the cursor
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/android/gfx.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp index ea0f556364..86232030ff 100644 --- a/backends/platform/android/gfx.cpp +++ b/backends/platform/android/gfx.cpp @@ -59,6 +59,9 @@ bool OSystem_Android::setGraphicsMode(int mode) { if (_overlay_texture) _overlay_texture->setLinearFilter(mode == 1); + if (_mouse_texture) + _mouse_texture->setLinearFilter(mode == 1); + _graphicsMode = mode; return true; @@ -684,6 +687,7 @@ void OSystem_Android::setMouseCursor(const byte *buf, uint w, uint h, assert(!_mouse_texture_rgb); _mouse_texture_rgb = new GLES5551Texture(); + _mouse_texture_rgb->setLinearFilter(_graphicsMode == 1); } _mouse_texture = _mouse_texture_rgb; |