BACKENDS: OPENGL: Use isCLUT8()
This commit is contained in:
parent
0722f5e9c0
commit
e0736936e9
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ FakeTexture::FakeTexture(GLenum glIntFormat, GLenum glFormat, GLenum glType, con
|
|||
_fakeFormat(fakeFormat),
|
||||
_rgbData(),
|
||||
_palette(nullptr) {
|
||||
if (_fakeFormat == Graphics::PixelFormat::createFormatCLUT8()) {
|
||||
if (_fakeFormat.isCLUT8()) {
|
||||
_palette = new uint32[256];
|
||||
memset(_palette, 0, sizeof(uint32));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue