Skip to content

Commit

Permalink
Shorten comment
Browse files Browse the repository at this point in the history
  • Loading branch information
eero-lehtinen committed Mar 18, 2024
1 parent 193cf30 commit 961381d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions crates/bevy_render/src/view/window/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,11 +304,9 @@ pub fn prepare_windows(
})
};

// Nvidia 550.54.14 driver introduced a change, where it returns
// `wgpu::SurfaceError::Outdated` after the window is resized. The
// previous behaviour of returning no error seemed to have been a bug,
// but it didn't affect the application's functionality, so just ignore
// the error if it happens.
// Linux Nvidia 550.54.14 driver introduced a change, where it returns
// `wgpu::SurfaceError::Outdated` after the window is resized and
// configure called. It can be ignored.
#[cfg(target_os = "linux")]
let ignore_outdated = || {
render_instance
Expand Down

0 comments on commit 961381d

Please sign in to comment.