wgpu-py
wgpu-py copied to clipboard
Crash after hiding then showing Qt WgpuCanvas
If you do as follows:
from wgpu.gui.qt import WgpuCanvas, run
canvas = WgpuCanvas()
canvas.hide()
canvas.show()
run()
The program crashes with:
Uncaught WGPU error (Unknown):
Outdated
thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
left: `0`,
right: `1`: TextureView[0] is no longer alive', C:\Users\runneradmin\.cargo\git\checkouts\wgpu-53e70f8674b08dd4\988990c\wgpu-core\src\hub.rs:169:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace