[Scummvm-cvs-logs] scummvm master -> 4f09018b00007fc9acc6ac7b7930aa57ae392d02
dhewg
dhewg at wiibrew.org
Wed Apr 6 21:17:02 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
4f09018b00 ANDROID: Allow linear texture filtering on the cursor
Commit: 4f09018b00007fc9acc6ac7b7930aa57ae392d02
https://github.com/scummvm/scummvm/commit/4f09018b00007fc9acc6ac7b7930aa57ae392d02
Author: dhewg (dhewg at wiibrew.org)
Date: 2011-04-06T12:15:15-07:00
Commit Message:
ANDROID: Allow linear texture filtering on the cursor
Changed paths:
backends/platform/android/gfx.cpp
diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp
index ea0f556..8623203 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;
More information about the Scummvm-git-logs
mailing list