Function evosim::graphics::toggle_vsync

source ·
fn toggle_vsync(
    input: Res<'_, Input<KeyCode>>,
    windows: Query<'_, '_, &mut Window>
)
Expand description

This system toggles the vsync mode when pressing the button.