From 997e81fe75ce32ed3d8bb4d8f73a226644cf3a2f Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Tue, 15 Jun 2004 14:11:09 +0000 Subject: added more compressed formats to is_color_format() --- src/mesa/main/teximage.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mesa') 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: -- cgit v1.2.3