From 2f98ac473bddb50e997dcfe61ae21ec0f641e514 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 11 Nov 2011 15:55:52 +0000 Subject: radeon: fix build. I had a later patch remove this code, but cherry-picked across it. Signed-off-by: Dave Airlie --- src/mesa/drivers/dri/radeon/radeon_texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa') diff --git a/src/mesa/drivers/dri/radeon/radeon_texture.c b/src/mesa/drivers/dri/radeon/radeon_texture.c index d5fb954b65f..6d32189d0b2 100644 --- a/src/mesa/drivers/dri/radeon/radeon_texture.c +++ b/src/mesa/drivers/dri/radeon/radeon_texture.c @@ -682,7 +682,7 @@ static void radeon_store_teximage(struct gl_context* ctx, int dims, dstRowStride = image->mt->levels[image->base.Base.Level].rowstride; } else if (t->bo) { /* TFP case */ - dstRowStride = get_texture_image_row_stride(rmesa, texImage->TexFormat, width, 0); + dstRowStride = get_texture_image_row_stride(rmesa, texImage->TexFormat, width, 0, texObj->Target); } else { dstRowStride = _mesa_format_row_stride(texImage->TexFormat, texImage->Width); } -- cgit v1.2.3