From: Dave Airlie Date: Mon, 16 Feb 2009 07:16:28 +0000 (+1000) Subject: radeon: fix compressed tex subimage unpack parameter X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f069bc4a8e628197a11ff7eb447a88a59d819689;p=mesa.git radeon: fix compressed tex subimage unpack parameter --- diff --git a/src/mesa/drivers/dri/radeon/radeon_texture.c b/src/mesa/drivers/dri/radeon/radeon_texture.c index 93ab5f72604..a256440a3c5 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); }