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:
Jan Sikorski 2022-07-05 12:54:21 +02:00 committed by Alexandre Julliard
parent 1a2aa0b0be
commit 4c96a51bdb

View file

@ -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;