check GL_EXT_paletted_texture before bothering with other checks

This commit is contained in:
Glenn Maynard
2004-05-10 01:06:37 +00:00
parent 62e9aebdad
commit 63fba23262
+6
View File
@@ -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";