mirror of https://github.com/snes9xgit/snes9x.git
win32: vulkan: apply vsync setting during init
This commit is contained in:
parent
f62eb40ac7
commit
911b416d28
|
@ -91,6 +91,11 @@ bool CVulkan::Initialize(HWND hWnd)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (context->swapchain->set_vsync(GUI.Vsync))
|
||||||
|
{
|
||||||
|
context->recreate_swapchain();
|
||||||
|
}
|
||||||
|
|
||||||
simple_output = std::make_unique<Vulkan::SimpleOutput>(context.get(), vk::Format::eR5G6B5UnormPack16);
|
simple_output = std::make_unique<Vulkan::SimpleOutput>(context.get(), vk::Format::eR5G6B5UnormPack16);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue