(Vulkan) Fix crash

This commit is contained in:
twinaphex 2020-04-25 17:44:13 +02:00
parent 05b1785f24
commit c88ffa56ff

View File

@ -2118,7 +2118,10 @@ static bool vulkan_frame(void *data, const void *frame,
vk->ctx_driver->swap_buffers(context_data);
if (!vk->context->swap_interval_emulation_lock)
vk->ctx_driver->update_window_title(context_data);
{
if (vk->ctx_driver->update_window_title)
vk->ctx_driver->update_window_title(context_data);
}
/* Handle spurious swapchain invalidations as soon as we can,
* i.e. right after swap buffers. */