From: Ian Romanick Date: Fri, 1 Oct 2010 23:21:12 +0000 (-0700) Subject: ARB_texture_rg: Add GL_COMPRESSED_{RED,RG} cases in _mesa_is_color_format X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c6147014a726eefb7a73c8520a0b48a57248a03;p=mesa.git ARB_texture_rg: Add GL_COMPRESSED_{RED,RG} cases in _mesa_is_color_format --- diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c index 1992c7448b3..3951b6a207f 100644 --- a/src/mesa/main/image.c +++ b/src/mesa/main/image.c @@ -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: