mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
libs/vkd3d: Clear current descriptor set when descriptor pool is destroyed.
This commit is contained in:
parent
fa52702774
commit
532da7d4e1
@ -2144,6 +2144,7 @@ static void STDMETHODCALLTYPE d3d12_command_list_SetGraphicsRootSignature(ID3D12
|
|||||||
{
|
{
|
||||||
ERR("Failed to add descriptor pool.\n");
|
ERR("Failed to add descriptor pool.\n");
|
||||||
VK_CALL(vkDestroyDescriptorPool(list->device->vk_device, vk_pool, NULL));
|
VK_CALL(vkDestroyDescriptorPool(list->device->vk_device, vk_pool, NULL));
|
||||||
|
list->current_descriptor_set = NULL;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user