Francois Gouget : wined3d: Avoid an unneeded NULL cast.
Alexandre Julliard
julliard at winehq.org
Thu Jun 10 16:04:51 CDT 2021
Module: wine
Branch: master
Commit: 2fb789f5c65e9bc7e357518258aee14933fc989a
URL: https://source.winehq.org/git/wine.git/?a=commit;h=2fb789f5c65e9bc7e357518258aee14933fc989a
Author: Francois Gouget <fgouget at free.fr>
Date: Thu Jun 10 14:27:03 2021 +0200
wined3d: Avoid an unneeded NULL cast.
Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wined3d/texture.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/texture.c b/dlls/wined3d/texture.c
index c7a9b4da3e1..c77de1796c4 100644
--- a/dlls/wined3d/texture.c
+++ b/dlls/wined3d/texture.c
@@ -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)))
{
More information about the wine-cvs
mailing list