mesa/st: util_format_is_compressed() -> util_format_is_s3tc().
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 29 Mar 2010 16:30:56 +0000 (17:30 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 29 Mar 2010 16:31:34 +0000 (17:31 +0100)
src/mesa/state_tracker/st_cb_texture.c

index 8cdd3ff2ae2b6fc50886edcba5318eb976ee90c8..390ada5489cb5fbc1af419c5dc9383720d9d29d7 100644 (file)
@@ -934,7 +934,7 @@ st_get_tex_image(GLcontext * ctx, GLenum target, GLint level,
    GLubyte *dest;
 
    if (stImage->pt &&
-       util_format_is_compressed(stImage->pt->format) &&
+       util_format_is_s3tc(stImage->pt->format) &&
        !compressed_dst) {
       /* Need to decompress the texture.
        * We'll do this by rendering a textured quad.