diff --git a/stepmania/src/RageBitmapTexture.cpp b/stepmania/src/RageBitmapTexture.cpp index 4e579e6365..0b3cfa2eb9 100644 --- a/stepmania/src/RageBitmapTexture.cpp +++ b/stepmania/src/RageBitmapTexture.cpp @@ -347,7 +347,7 @@ retry: GLExt::glColorTableEXT(GL_TEXTURE_2D, GL_RGBA8, 256, GL_RGBA, GL_UNSIGNED_BYTE, palette); int RealFormat = 0; - GLExt::glGetColorTableParameterivEXT(GL_TEXTURE_2D, GLenum(GL_COLOR_TABLE_FORMAT_EXT), &RealFormat); + GLExt::glGetColorTableParameterivEXT(GL_TEXTURE_2D, GL_COLOR_TABLE_FORMAT_EXT, &RealFormat); if(RealFormat != GL_RGBA8) { /* This is a case I don't expect to happen; if it does, log, @@ -368,7 +368,7 @@ retry: if(img->format->BitsPerPixel == 8) { int size; - glGetTexLevelParameteriv(GL_TEXTURE_2D, 0, GL_TEXTURE_INDEX_SIZE_EXT, &size); + glGetTexLevelParameteriv(GL_TEXTURE_2D, 0, GLenum(GL_TEXTURE_INDEX_SIZE_EXT), &size); if(size != 8) { /* I don't know any reason this should actually fail (paletted textures