wined3d: Avoid an unneeded NULL cast.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
efa52619af
commit
2fb789f5c6
|
@ -5013,7 +5013,7 @@ static void wined3d_texture_vk_download_data(struct wined3d_context *context,
|
|||
wined3d_context_vk_wait_command_buffer(context_vk, src_texture_vk->image.command_buffer_id);
|
||||
|
||||
staging_bo_addr.buffer_object = (uintptr_t)&staging_bo;
|
||||
staging_bo_addr.addr = (uint8_t *)NULL;
|
||||
staging_bo_addr.addr = NULL;
|
||||
if (!(map_ptr = wined3d_context_map_bo_address(context, &staging_bo_addr,
|
||||
sub_resource->size, WINED3D_MAP_READ)))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue