- don't let Vulkan access the vid_vsync variable directly.
Since the FrameBuffers have a SetVsync method anything these last set must count, not the global variable directly.
This commit is contained in:
parent
b9d4e77214
commit
5179a69fdb
5 changed files with 9 additions and 6 deletions
|
|
@ -636,6 +636,7 @@ const char* VulkanFrameBuffer::DeviceName() const
|
|||
void VulkanFrameBuffer::SetVSync(bool vsync)
|
||||
{
|
||||
// This is handled in VulkanSwapChain::AcquireImage.
|
||||
cur_vsync = vsync;
|
||||
}
|
||||
|
||||
void VulkanFrameBuffer::CleanForRestart()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue