From: José Fonseca Date: Mon, 29 Mar 2010 16:30:56 +0000 (+0100) Subject: mesa/st: util_format_is_compressed() -> util_format_is_s3tc(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cfbbe244d7438a60d389ae9d996dd430f79f362f;p=mesa.git mesa/st: util_format_is_compressed() -> util_format_is_s3tc(). --- diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index 8cdd3ff2ae2..390ada5489c 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -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.