use AutoNoVsync in stress tests (#9229)

# Objective

- Some stress tests use `Immediate` which is not supported everywhere

## Solution

- Use `AutoNoVsync` instead
This commit is contained in:
François 2023-07-21 22:15:13 +02:00 committed by Carter Anderson
parent 5d8351d9e7
commit ac4e729b39
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ fn main() {
app.add_plugins((
DefaultPlugins.set(WindowPlugin {
primary_window: Some(Window {
present_mode: PresentMode::Immediate,
present_mode: PresentMode::AutoNoVsync,
..default()
}),
..default()

View File

@ -14,7 +14,7 @@ fn main() {
.add_plugins((
DefaultPlugins.set(WindowPlugin {
primary_window: Some(Window {
present_mode: PresentMode::Immediate,
present_mode: PresentMode::AutoNoVsync,
..default()
}),
..default()