bevy/pipelined
Robert Swain fb33d591df Fix window size change panic (#2858)
# 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
2021-09-23 20:55:18 +00:00
..
bevy_core_pipeline Modular Rendering (#2831) 2021-09-23 06:16:11 +00:00
bevy_gltf2 Port bevy_gltf to pipelined-rendering (#2537) 2021-07-30 03:37:34 +00:00
bevy_pbr2 Modular Rendering (#2831) 2021-09-23 06:16:11 +00:00
bevy_render2 Fix window size change panic (#2858) 2021-09-23 20:55:18 +00:00
bevy_sprite2 Modular Rendering (#2831) 2021-09-23 06:16:11 +00:00