Closed
Description
What problem does this solve or what need does it fill?
From observation while working with winit, MainEventsCleared
seems to be executing code when window is minimized which crashes your vulkan/wgpu application. When you move all calls to RedrawEventsCleared
, renderer is not running while window is minimized and no longer crashes your program.
What solution would you like?
Move function calls from MainEventsCleared
to RedrawEventsCleared
or similiar.
What alternative(s) have you considered?
None
Additional context
None