summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-03-29 17:30:56 +0100
committerJosé Fonseca <[email protected]>2010-03-29 17:31:34 +0100
commitcfbbe244d7438a60d389ae9d996dd430f79f362f (patch)
tree0cfc8074d1a269706adfb88a89c0f09301c3ee9b
parentbade76191a3a429176694b3d7fd4f68409359735 (diff)
mesa/st: util_format_is_compressed() -> util_format_is_s3tc().
-rw-r--r--src/mesa/state_tracker/st_cb_texture.c2
1 files changed, 1 insertions, 1 deletions
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.