From 719d8f6b4ea083c2ad95ae2a6922980be6cbca3d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 20 Feb 2003 02:25:10 +0000 Subject: [PATCH] use GL_COLOR_TABLE_FORMAT instead of GL_COLOR_TABLE_FORMAT_EXT; it's defined in glext.h (we could enable this if the imaging subset is defined, too, but checking for the extension version is probably good enough) --- 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 4aab421d23..066edd2bd3 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, GL_COLOR_TABLE_FORMAT, &RealFormat); if(RealFormat != GL_RGBA8) { /* This is a case I don't expect to happen; if it does, log,