From 835eb67b7b18962a65048c2e029b8d1ec3d2f37e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 14 Nov 2003 00:07:47 +0000 Subject: [PATCH] work around really old gl headers --- stepmania/src/RageDisplay_OGL.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/RageDisplay_OGL.cpp b/stepmania/src/RageDisplay_OGL.cpp index 0843076b54..7a169f3a23 100644 --- a/stepmania/src/RageDisplay_OGL.cpp +++ b/stepmania/src/RageDisplay_OGL.cpp @@ -474,11 +474,11 @@ static void CheckPalettedTextures( bool LowColor ) } GLint RealWidth = 0; - GLExt::glGetColorTableParameterivEXT(GL_PROXY_TEXTURE_2D, GL_COLOR_TABLE_WIDTH_EXT, &RealWidth); - GL_CHECK_ERROR( "glGetColorTableParameterivEXT(GL_COLOR_TABLE_WIDTH_EXT)" ); + GLExt::glGetColorTableParameterivEXT(GL_PROXY_TEXTURE_2D, GL_COLOR_TABLE_WIDTH, &RealWidth); + GL_CHECK_ERROR( "glGetColorTableParameterivEXT(GL_COLOR_TABLE_WIDTH)" ); if( RealWidth != 1 << bits ) { - error = ssprintf("GL_COLOR_TABLE_WIDTH_EXT returned %i instead of %i", RealWidth, 1 << bits ); + error = ssprintf("GL_COLOR_TABLE_WIDTH returned %i instead of %i", RealWidth, 1 << bits ); goto fail; }