ANDROID: Clear fake palette after allocating
Gets rid of funky gfx artifacts on the overlay
This commit is contained in:
parent
f587b6ee04
commit
5b94159f40
1 changed files with 2 additions and 0 deletions
|
@ -480,6 +480,8 @@ GLESFakePaletteTexture::GLESFakePaletteTexture(GLenum glFormat, GLenum glType,
|
|||
|
||||
_palette = new uint16[256];
|
||||
assert(_palette);
|
||||
|
||||
memset(_palette, 0, 256 * 2);
|
||||
}
|
||||
|
||||
GLESFakePaletteTexture::~GLESFakePaletteTexture() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue