ARB_texture_rg: Add GL_COMPRESSED_{RED,RG} cases in _mesa_is_color_format

This commit is contained in:
Ian Romanick
2010-10-01 16:21:12 -07:00
parent e2a054b70c
commit 7c6147014a
+2
View File
@@ -663,6 +663,8 @@ _mesa_is_color_format(GLenum format)
case GL_COMPRESSED_LUMINANCE:
case GL_COMPRESSED_LUMINANCE_ALPHA:
case GL_COMPRESSED_INTENSITY:
case GL_COMPRESSED_RED:
case GL_COMPRESSED_RG:
case GL_COMPRESSED_RGB:
case GL_COMPRESSED_RGBA:
case GL_RGB_S3TC: