mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 11:34:07 +00:00
wined3d: Add missing copy offset in wined3d_texture_vk_upload_data().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53307 Signed-off-by: Jan Sikorski <jsikorski@codeweavers.com>
This commit is contained in:
parent
1a2aa0b0be
commit
4c96a51bdb
|
@ -5014,7 +5014,7 @@ static void wined3d_texture_vk_upload_data(struct wined3d_context *context,
|
|||
return;
|
||||
}
|
||||
|
||||
wined3d_format_copy_data(src_format, src_bo_addr->addr, src_row_pitch, src_slice_pitch,
|
||||
wined3d_format_copy_data(src_format, src_bo_addr->addr + src_offset, src_row_pitch, src_slice_pitch,
|
||||
map_ptr, staging_row_pitch, staging_slice_pitch, src_width, src_height, src_depth);
|
||||
|
||||
range.offset = 0;
|
||||
|
|
Loading…
Reference in a new issue