libs/vkd3d: Clear current descriptor set when descriptor pool is destroyed.

This commit is contained in:
Józef Kucia 2017-06-23 22:24:33 +02:00
parent fa52702774
commit 532da7d4e1

View File

@ -2144,6 +2144,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;
return;
}