Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow setting present mode in vulkano util's window renderer #1922

Merged
merged 3 commits into from
Jul 13, 2022

Conversation

hakolao
Copy link
Contributor

@hakolao hakolao commented Jul 12, 2022

This PR makes it possible to toggle present mode (e.g. vsync on / off) at runtime in VulkanoWindowRenderer.

Setting the present mode to a different value triggers swapchain recreation.

@Rua Rua merged commit 5e298d6 into vulkano-rs:master Jul 13, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants