bevy/crates/bevy_render
RuelYasa 9751db4d6c
Fixing a crash when minimizing a window with custom viewport. (#16704) (#18916)
# Objective

Fix a crash when minimizing a window. (#16704) It happens when the
window contains Camera with a custom Viewport.

## Solution

Remove ExtractedCamera when the corresponding camera in main world has
zero target size. It indicates that the window is minimized.

## Testing

Tested in Windows 11.
Previously the split_screen example crashes when the window is
minimized; and with this change, it would not crash. Other behaviors
remain unchanged.
2025-07-14 20:11:55 +00:00
..
macros enable syn/full in bevy_render_macros (#20034) 2025-07-08 17:08:20 +00:00
src Fixing a crash when minimizing a window with custom viewport. (#16704) (#18916) 2025-07-14 20:11:55 +00:00
Cargo.toml make optional crates for mesh, camera, and light (#19997) 2025-07-07 07:35:32 +00:00
LICENSE-APACHE Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
LICENSE-MIT Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
README.md Add README.md to all crates (#13184) 2024-05-02 18:56:00 +00:00

Bevy Render

License Crates.io Downloads Docs Discord