27 Nov
2023
27 Nov
'23
5:01 p.m.
Rémi Bernon (@rbernon) commented about dlls/winewayland.drv/vulkan.c:
+ swap_res = VK_ERROR_OUT_OF_DATE_KHR; + } + else + { + swap_res = VK_SUCCESS; } } else { - vk_result_update_severity(&res, VK_ERROR_SURFACE_LOST_KHR); + swap_res = VK_ERROR_SURFACE_LOST_KHR; } + + if (present_info->pResults) + vk_result_update_severity(&present_info->pResults[i], swap_res); + vk_result_update_severity(&res, swap_res); Imo this should be merged with the previous change, to avoid inconsistent state.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4522#note_53933