Closed fililip closed 1 year ago
Let the user choose whether they want the thread sleep based FPS limiting behavior to be present when rendering their games.
When creating a new context, the user can do so by calling fps_limit(false) on a ContextBuilder instance.
fps_limit(false)
ContextBuilder
ContextBuilder::new("app", 1280, 720) .vsync(false) .fps_limit(false) .build()? .run(GameState::new)?;
Thanks - this seems like a sensible thing to add, as I've had people complain about the (admittedly janky) FPS limiter before, and it's pointless having it on if you're using vsync too.
vsync
Let the user choose whether they want the thread sleep based FPS limiting behavior to be present when rendering their games.
When creating a new context, the user can do so by calling
fps_limit(false)
on aContextBuilder
instance.