added more compressed formats to is_color_format()
authorRoland Scheidegger <rscheidegger@gmx.ch>
Tue, 15 Jun 2004 14:11:09 +0000 (14:11 +0000)
committerRoland Scheidegger <rscheidegger@gmx.ch>
Tue, 15 Jun 2004 14:11:09 +0000 (14:11 +0000)
src/mesa/main/teximage.c

index e971bab17cd013547f2f75d6b2c77622e1b340ce..aa6494a0c5fb7e76eb0178d9a80357e98db691c5 100644 (file)
@@ -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: