From 3f2c342b26e634bd4d224797371ba605b8060b09 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 15 Feb 2003 00:14:28 +0000 Subject: [PATCH] and another annoying cast --- stepmania/src/RageBitmapTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageBitmapTexture.cpp b/stepmania/src/RageBitmapTexture.cpp index 2465d9ae44..4e579e6365 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, GL_COLOR_TABLE_FORMAT_EXT, &RealFormat); + GLExt::glGetColorTableParameterivEXT(GL_TEXTURE_2D, GLenum(GL_COLOR_TABLE_FORMAT_EXT), &RealFormat); if(RealFormat != GL_RGBA8) { /* This is a case I don't expect to happen; if it does, log,