check GL_EXT_paletted_texture before bothering with other checks
This commit is contained in:
@@ -513,6 +513,12 @@ static void CheckPalettedTextures( bool LowColor )
|
|||||||
CString error;
|
CString error;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
if( !HasExtension("GL_EXT_paletted_texture") )
|
||||||
|
{
|
||||||
|
error = "GL_EXT_paletted_texture missing";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if( GLExt::glColorTableEXT == NULL )
|
if( GLExt::glColorTableEXT == NULL )
|
||||||
{
|
{
|
||||||
error = "glColorTableEXT missing";
|
error = "glColorTableEXT missing";
|
||||||
|
|||||||
Reference in New Issue
Block a user