mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
zink: don't destroy swapchain on initial CreateSwapchainKHR fail
this used to be correct at some point but now it no longer is cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23970>
This commit is contained in:
parent
2fc2597fe5
commit
54bd804ad3
1 changed files with 0 additions and 1 deletions
|
|
@ -313,7 +313,6 @@ kopper_CreateSwapchain(struct zink_screen *screen, struct kopper_displaytarget *
|
|||
VkResult result = VKSCR(QueueWaitIdle)(screen->queue);
|
||||
if (result != VK_SUCCESS)
|
||||
mesa_loge("ZINK: vkQueueWaitIdle failed (%s)", vk_Result_to_str(result));
|
||||
zink_kopper_deinit_displaytarget(screen, cdt);
|
||||
error = VKSCR(CreateSwapchainKHR)(screen->dev, &cswap->scci, NULL,
|
||||
&cswap->swapchain);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue