diff options
author | Dave Airlie <[email protected]> | 2011-11-11 15:55:52 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-11-11 15:55:52 +0000 |
commit | 2f98ac473bddb50e997dcfe61ae21ec0f641e514 (patch) | |
tree | 7ffd8dfdd8ee84aaa4e27469fd9bf07fdf29e9ac | |
parent | 88ec12539a65728225e720095a8105494ba772de (diff) |
radeon: fix build.
I had a later patch remove this code, but cherry-picked across it.
Signed-off-by: Dave Airlie <[email protected]>
-rw-r--r-- | 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 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); } |