-
-
Notifications
You must be signed in to change notification settings - Fork 485
Closed
Description
Perhaps there is a good reason for not supporting this, but many APIs do allow changing the present interval on the fly and it's useful to be able to toggle vsync without recreating the Window, device context and all resources. Perhaps a return value if the operation was supported and successful would suffice.
Something like:
impl Window {
fn set_vsync(enabled: bool) -> Result<(), SomeError> {}
// or even
fn set_present_interval(interval: PresentInterval) -> Result<(), SomeError> {}Does this make sense for glutin?
trolleyman and blindley
Metadata
Metadata
Assignees
Labels
No labels