radeon: fix compressed tex subimage unpack parameter
authorDave Airlie <airlied@redhat.com>
Mon, 16 Feb 2009 07:16:28 +0000 (17:16 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 16 Feb 2009 07:16:28 +0000 (17:16 +1000)
src/mesa/drivers/dri/radeon/radeon_texture.c

index 93ab5f7260404bc94fb05c4e47b900bd28ed728a..a256440a3c5ae1f2599ce8ff3ea91662751b7562 100644 (file)
@@ -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);
 }