diff options
author | dhewg | 2011-03-14 18:53:38 +0100 |
---|---|---|
committer | dhewg | 2011-03-14 19:35:36 +0100 |
commit | 5b94159f40fba8edaf15bf8961c479898646eb2d (patch) | |
tree | 72e9a8680b5a3c6f9d101cbe33aa670dbdf7844c /backends/platform | |
parent | f587b6ee04b18366205277f76c3f048313e971a6 (diff) | |
download | scummvm-rg350-5b94159f40fba8edaf15bf8961c479898646eb2d.tar.gz scummvm-rg350-5b94159f40fba8edaf15bf8961c479898646eb2d.tar.bz2 scummvm-rg350-5b94159f40fba8edaf15bf8961c479898646eb2d.zip |
ANDROID: Clear fake palette after allocating
Gets rid of funky gfx artifacts on the overlay
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/android/texture.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/android/texture.cpp b/backends/platform/android/texture.cpp index bbfd1f0c86..9501d94f48 100644 --- a/backends/platform/android/texture.cpp +++ b/backends/platform/android/texture.cpp @@ -480,6 +480,8 @@ GLESFakePaletteTexture::GLESFakePaletteTexture(GLenum glFormat, GLenum glType, _palette = new uint16[256]; assert(_palette); + + memset(_palette, 0, 256 * 2); } GLESFakePaletteTexture::~GLESFakePaletteTexture() { |