mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
vulkan: fix love.window.getVSync
This commit is contained in:
@@ -1148,6 +1148,11 @@ int Window::getVSync() const
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef LOVE_GRAPHICS_VULKAN
|
||||
if (windowRenderer == love::graphics::RENDERER_VULKAN)
|
||||
return love::graphics::vulkan::Vulkan::getVsync();
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user