mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-06 04:58:47 +02:00
Examples: Vulkan: Fix for empty draw data (init time) + fixed warning.
This commit is contained in:
@ -507,7 +507,7 @@ static void cleanup_vulkan()
|
||||
static void frame_begin()
|
||||
{
|
||||
VkResult err;
|
||||
while (true)
|
||||
for (;;)
|
||||
{
|
||||
err = vkWaitForFences(g_Device, 1, &g_Fence[g_FrameIndex], VK_TRUE, 100);
|
||||
if (err == VK_SUCCESS) break;
|
||||
|
Reference in New Issue
Block a user