Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add WindowContext::set_vsync to allow for runtime vsync configuration #480

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

BonsaiDen
Copy link
Contributor

Small addition so vsync can be changed on the fly after initial window creation for example from a graphics settings menu.

@BonsaiDen BonsaiDen force-pushed the feature/window-context-set-vsync branch from 81e24da to 6097bc7 Compare September 13, 2024 15:23
Copy link
Owner

@asny asny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I only have one comment 👇

src/window/winit_window/windowed_context.rs Outdated Show resolved Hide resolved
@BonsaiDen BonsaiDen force-pushed the feature/window-context-set-vsync branch from 6097bc7 to c0fd529 Compare September 17, 2024 15:15
@asny asny merged commit 2884603 into asny:master Sep 20, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants