mirror of
https://github.com/bevyengine/bevy
synced 2024-12-30 15:03:23 +00:00
fb33d591df
# Objective Using fullscreen or trying to resize a window caused a panic. Fix that. ## Solution - Don't wholesale overwrite the ExtractedWindows resource when extracting windows - This could cause an accumulation of unused windows that are holding onto swap chain frames? - Check the if width and/or height changed since the last frame - If the size changed, recreate the swap chain - Ensure dimensions are >= 1 to avoid panics due to any dimension being 0 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |