mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 08:50:09 +01:00
radeon: fix build.
I had a later patch remove this code, but cherry-picked across it. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
88ec12539a
commit
2f98ac473b
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue