summaryrefslogtreecommitdiff
path: root/src/mesa/main/image.c
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-10-01 16:21:12 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-10-01 16:55:35 -0700
commit7c6147014a726eefb7a73c8520a0b48a57248a03 (patch)
tree1fc3c0896a8a50ad4151602741c30fb470726870 /src/mesa/main/image.c
parente2a054b70cb5dace40fc1426cbf936366dc72fb9 (diff)
ARB_texture_rg: Add GL_COMPRESSED_{RED,RG} cases in _mesa_is_color_format
Diffstat (limited to 'src/mesa/main/image.c')
-rw-r--r--src/mesa/main/image.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c
index 1992c7448b..3951b6a207 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: