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 builder method for setting VSync #57

Closed
parasyte opened this issue Feb 21, 2020 · 1 comment · Fixed by #78
Closed

Add builder method for setting VSync #57

parasyte opened this issue Feb 21, 2020 · 1 comment · Fixed by #78
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@parasyte
Copy link
Owner

VSync is currently hardcoded on:

present_mode: wgpu::PresentMode::Vsync,

It's important to make this optional so that users can decide if they prefer no screen tearing (VSync on) or low latency (VSync off).

@parasyte parasyte added enhancement New feature or request good first issue Good for newcomers labels Feb 21, 2020
@parasyte
Copy link
Owner Author

The default value was changed to wgpu::PresentMode::Mailbox (a good default). We'll still want this configurable, though.

present_mode: wgpu::PresentMode::Mailbox,

present_mode: wgpu::PresentMode::Mailbox,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant