From: Roland Scheidegger Date: Tue, 15 Jun 2004 14:11:09 +0000 (+0000) Subject: added more compressed formats to is_color_format() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=997e81fe75ce32ed3d8bb4d8f73a226644cf3a2f;p=mesa.git added more compressed formats to is_color_format() --- 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: