summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2004-06-15 14:11:09 +0000
committerRoland Scheidegger <[email protected]>2004-06-15 14:11:09 +0000
commit997e81fe75ce32ed3d8bb4d8f73a226644cf3a2f (patch)
tree32a28d80a902a48ee469df0d1c87e88328cf9357 /src/mesa
parent09c9bfb22d40228a6d11319a20e6e82acfd363c7 (diff)
added more compressed formats to is_color_format()
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/teximage.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index e971bab17cd..aa6494a0c5f 100644
--- 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: