Mesa (radeon-rewrite): radeon: fix compressed tex subimage unpack parameter

Dave Airlie airlied at kemper.freedesktop.org
Sun Feb 15 15:14:34 PST 2009


Module: Mesa
Branch: radeon-rewrite
Commit: f069bc4a8e628197a11ff7eb447a88a59d819689
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f069bc4a8e628197a11ff7eb447a88a59d819689

Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Feb 16 17:16:28 2009 +1000

radeon: fix compressed tex subimage unpack parameter

---

 src/mesa/drivers/dri/radeon/radeon_texture.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/radeon/radeon_texture.c b/src/mesa/drivers/dri/radeon/radeon_texture.c
index 93ab5f7..a256440 100644
--- a/src/mesa/drivers/dri/radeon/radeon_texture.c
+++ b/src/mesa/drivers/dri/radeon/radeon_texture.c
@@ -714,7 +714,7 @@ void radeonCompressedTexSubImage2D(GLcontext * ctx, GLenum target,
 				   struct gl_texture_image *texImage)
 {
 	radeon_texsubimage(ctx, 2, level, xoffset, yoffset, 0, width, height, 1,
-		format, 0, data, 0, texObj, texImage, 1);
+		format, 0, data, &ctx->Unpack, texObj, texImage, 1);
 }
 
 



More information about the mesa-commit mailing list