mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Vulkan: Log when a swap chain resize is occurring
This may help us debug performance problems in the future.
This commit is contained in:
@ -305,6 +305,7 @@ void Renderer::BindBackbuffer(const ClearColor& clear_color)
|
|||||||
}
|
}
|
||||||
else if (res == VK_SUBOPTIMAL_KHR || res == VK_ERROR_OUT_OF_DATE_KHR)
|
else if (res == VK_SUBOPTIMAL_KHR || res == VK_ERROR_OUT_OF_DATE_KHR)
|
||||||
{
|
{
|
||||||
|
INFO_LOG(VIDEO, "Resizing swap chain due to suboptimal/out-of-date");
|
||||||
m_swap_chain->ResizeSwapChain();
|
m_swap_chain->ResizeSwapChain();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user