bevy/crates/bevy_pbr
John 3443cc77cb Fixes minimization crash because of cluster updates. (#3369)
# Objective
Fixes: #3368

Issue was caused by screen size being: `(0, 0)`.

## Solution
Don't update clusters if the screen size is zero. A better solution might be to not render when minimized, but this works in the meantime.


Co-authored-by: John <startoaster23@gmail.com>
2021-12-20 21:43:55 +00:00
..
src Fixes minimization crash because of cluster updates. (#3369) 2021-12-20 21:43:55 +00:00
Cargo.toml Update wgpu to 0.12 and naga to 0.8 (#3375) 2021-12-19 03:03:06 +00:00