ANDROID: Clear fake palette after allocating

Gets rid of funky gfx artifacts on the overlay
This commit is contained in:
dhewg 2011-03-14 18:53:38 +01:00
parent f587b6ee04
commit 5b94159f40

View file

@ -480,6 +480,8 @@ GLESFakePaletteTexture::GLESFakePaletteTexture(GLenum glFormat, GLenum glType,
_palette = new uint16[256]; _palette = new uint16[256];
assert(_palette); assert(_palette);
memset(_palette, 0, 256 * 2);
} }
GLESFakePaletteTexture::~GLESFakePaletteTexture() { GLESFakePaletteTexture::~GLESFakePaletteTexture() {