From 63fba23262bba9b995405f0fcd69939af184a5a9 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 10 May 2004 01:06:37 +0000 Subject: [PATCH] check GL_EXT_paletted_texture before bothering with other checks --- stepmania/src/RageDisplay_OGL.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stepmania/src/RageDisplay_OGL.cpp b/stepmania/src/RageDisplay_OGL.cpp index f9b972c604..85b59f9a49 100644 --- a/stepmania/src/RageDisplay_OGL.cpp +++ b/stepmania/src/RageDisplay_OGL.cpp @@ -513,6 +513,12 @@ static void CheckPalettedTextures( bool LowColor ) CString error; do { + if( !HasExtension("GL_EXT_paletted_texture") ) + { + error = "GL_EXT_paletted_texture missing"; + break; + } + if( GLExt::glColorTableEXT == NULL ) { error = "glColorTableEXT missing";