and another annoying cast
This commit is contained in:
@@ -347,7 +347,7 @@ retry:
|
|||||||
GLExt::glColorTableEXT(GL_TEXTURE_2D, GL_RGBA8, 256, GL_RGBA, GL_UNSIGNED_BYTE, palette);
|
GLExt::glColorTableEXT(GL_TEXTURE_2D, GL_RGBA8, 256, GL_RGBA, GL_UNSIGNED_BYTE, palette);
|
||||||
|
|
||||||
int RealFormat = 0;
|
int RealFormat = 0;
|
||||||
GLExt::glGetColorTableParameterivEXT(GL_TEXTURE_2D, GL_COLOR_TABLE_FORMAT_EXT, &RealFormat);
|
GLExt::glGetColorTableParameterivEXT(GL_TEXTURE_2D, GLenum(GL_COLOR_TABLE_FORMAT_EXT), &RealFormat);
|
||||||
if(RealFormat != GL_RGBA8)
|
if(RealFormat != GL_RGBA8)
|
||||||
{
|
{
|
||||||
/* This is a case I don't expect to happen; if it does, log,
|
/* This is a case I don't expect to happen; if it does, log,
|
||||||
|
|||||||
Reference in New Issue
Block a user