# 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 |
||
|---|---|---|
| .. | ||
| bevy_core_pipeline | ||
| bevy_gltf2 | ||
| bevy_pbr2 | ||
| bevy_render2 | ||
| bevy_sprite2 | ||