This repository was archived by the owner on Jun 18, 2021. It is now read-only.
This repository was archived by the owner on Jun 18, 2021. It is now read-only.
Panic when screen is turned off #106
Closed
Description
I'm on Linux, and if the screen is turned off (e.g. with xset dpms force off
), wgpu
instantly panics with GPU took too much time processing last frames :(
. This leaves me with no way to recover the UI.
Is there any reason in particular that swap_chain_get_next_texture
explicitly panics rather than returning a Result
?