- hook up vid_vsync and vk_debug
This commit is contained in:
parent
b4154f1772
commit
c2e0eba270
4 changed files with 12 additions and 4 deletions
|
|
@ -261,6 +261,10 @@ uint32_t VulkanFrameBuffer::GetCaps()
|
|||
|
||||
void VulkanFrameBuffer::SetVSync(bool vsync)
|
||||
{
|
||||
if (device->swapChain->vsync != vsync)
|
||||
{
|
||||
device->windowResized();
|
||||
}
|
||||
}
|
||||
|
||||
void VulkanFrameBuffer::CleanForRestart()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue