From ae8d8690138f5ca2a868a8ac607d86d1d176c7f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zef=20Kucia?= Date: Mon, 26 Jun 2017 17:03:31 +0200 Subject: [PATCH] libs/vkd3d: Use VK_NULL_HANDLE instead of NULL. Fixes a compiler warning for 32-bit builds. --- libs/vkd3d/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c index 8f1e6d81..4cfccc19 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -2146,7 +2146,7 @@ static void STDMETHODCALLTYPE d3d12_command_list_SetGraphicsRootSignature(ID3D12 { ERR("Failed to add descriptor pool.\n"); VK_CALL(vkDestroyDescriptorPool(list->device->vk_device, vk_pool, NULL)); - list->current_descriptor_set = NULL; + list->current_descriptor_set = VK_NULL_HANDLE; return; }