more thourough GL_UNSIGNED_SHORT_1_5_5_5_REV check

This commit is contained in:
Glenn Maynard
2003-07-09 03:22:27 +00:00
parent ca6a78eb5e
commit cc739adac8
+1 -1
View File
@@ -1236,7 +1236,7 @@ bool RageDisplay_OGL::SupportsSurfaceFormat( PixelFormat pixfmt )
switch( GL_PIXFMT_INFO[pixfmt].type )
{
case GL_UNSIGNED_SHORT_1_5_5_5_REV:
return g_bReversePackedPixelsWorks;
return g_bGL_EXT_bgra && g_bReversePackedPixelsWorks;
default:
return true;
}