Simple window crash on minimize (Windows 10) #2018
Labels
A-Windowing
Platform-agnostic interface layer to run your app in
C-Bug
An unexpected or incorrect behavior
O-Windows
Specific to the Windows desktop operating system
S-Duplicate
This issue or PR already exists
Bevy version ="0.5.0"
version using from crates.io.
Operating system & version= Windows 10
code
use bevy::prelude::*;
fn main() {
App::build()
.add_plugins(DefaultPlugins)
.run();
}
This code run runs program correctly and a window is opened but when we tries to minimise it crashes simply.
#error shown after crash
thread 'main' panicked at 'Error in Device::create_swap_chain: Both
SwapChain
width and height must be non-zero. Wait to recreate theSwapChain
until the window has non-zero area.',C:.{path}\wgpu-0.7.1\src\backend\direct.rs:129:9
note: run with
RUST_BACKTRACE=1
environment variable to display a backtrace(exit code: 0xc000041d)
The text was updated successfully, but these errors were encountered: