diff options
| -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() {  | 
