# 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. |
||
|---|---|---|
| .. | ||
| macros | ||
| src | ||
| Cargo.toml | ||
| LICENSE-APACHE | ||
| LICENSE-MIT | ||
| README.md | ||