projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09c9bfb
)
added more compressed formats to is_color_format()
author
Roland Scheidegger
<rscheidegger@gmx.ch>
Tue, 15 Jun 2004 14:11:09 +0000
(14:11 +0000)
committer
Roland Scheidegger
<rscheidegger@gmx.ch>
Tue, 15 Jun 2004 14:11:09 +0000
(14:11 +0000)
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index e971bab17cd013547f2f75d6b2c77622e1b340ce..aa6494a0c5fb7e76eb0178d9a80357e98db691c5 100644
(file)
--- a/
src/mesa/main/teximage.c
+++ b/
src/mesa/main/teximage.c
@@
-394,6
+394,10
@@
is_color_format(GLenum format)
case GL_COMPRESSED_INTENSITY:
case GL_COMPRESSED_RGB:
case GL_COMPRESSED_RGBA:
+ case GL_RGB_S3TC:
+ case GL_RGB4_S3TC:
+ case GL_RGBA_S3TC:
+ case GL_RGBA4_S3TC:
case GL_COMPRESSED_RGB_S3TC_DXT1_EXT:
case GL_COMPRESSED_RGBA_S3TC_DXT1_EXT:
case GL_COMPRESSED_RGBA_S3TC_DXT3_EXT: