Skip to content
Discussion options

You must be logged in to vote

Exactly 60? That sounds like you're just being limited by vsync. You can turn off vsync by modifying DefaultPlugins like so:

.add_plugins(DefaultPlugins.set(WindowPlugin {
    primary_window: Some(Window {
        present_mode: PresentMode::AutoNoVsync,
        ..default()
    }),
    ..default()
}))

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@barvirm
Comment options

@rparrett
Comment options

Answer selected by barvirm
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
A-Rendering Drawing game state to the screen C-Performance A change motivated by improving speed, memory usage or compile times
3 participants