summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-02-16 17:16:28 +1000
committerDave Airlie <airlied@redhat.com>2009-02-16 17:16:28 +1000
commitf069bc4a8e628197a11ff7eb447a88a59d819689 (patch)
treee75501983f0a3c6fdfa7ddb00d94a805cf2cf8ef /src/mesa/drivers
parentb0e8ac8fd2eeb88b5f9299afb36102113a2435d4 (diff)
radeon: fix compressed tex subimage unpack parameter
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_texture.c2
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 93ab5f7260..a256440a3c 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);
}