Module: Mesa Branch: master Commit: cfbbe244d7438a60d389ae9d996dd430f79f362f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cfbbe244d7438a60d389ae9d996dd430f79f362f
Author: José Fonseca <[email protected]> Date: Mon Mar 29 17:30:56 2010 +0100 mesa/st: util_format_is_compressed() -> util_format_is_s3tc(). --- src/mesa/state_tracker/st_cb_texture.c | 2 +- 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 8cdd3ff..390ada5 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. _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
