projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2a054b
)
ARB_texture_rg: Add GL_COMPRESSED_{RED,RG} cases in _mesa_is_color_format
author
Ian Romanick
<ian.d.romanick@intel.com>
Fri, 1 Oct 2010 23:21:12 +0000
(16:21 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Fri, 1 Oct 2010 23:55:35 +0000
(16:55 -0700)
src/mesa/main/image.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/image.c
b/src/mesa/main/image.c
index 1992c7448b350886958ad72b5b8989698539c24c..3951b6a207f8f294de2b60038b1000a4867432e6 100644
(file)
--- 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: