mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
Normalize warning messages with Nvidia drivers (#12833)
# Objective
There are currently 2 different warning messages that are logged when
resizing on Linux with Nvidia drivers (introduced in
70c69cdd51
).
Fixes #12830
## Solution
Generalize both to say:
```Couldn't get swap chain texture. This often happens with the NVIDIA drivers on Linux. It can be safely ignored.```
This commit is contained in:
parent
9790c02e18
commit
abd94480ab
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ pub fn prepare_windows(
|
|||
Err(wgpu::SurfaceError::Outdated) if is_nvidia() => {
|
||||
warn_once!(
|
||||
"Couldn't get swap chain texture. This often happens with \
|
||||
the Nvidia 550 driver. It can be safely ignored."
|
||||
the NVIDIA drivers on Linux. It can be safely ignored."
|
||||
);
|
||||
}
|
||||
Err(wgpu::SurfaceError::Outdated) => {
|
||||
|
|
Loading…
Reference in a new issue