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