mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 22:50:19 +00:00
75da2e7adf
# Objective - When a window is closed, the associated camera keeps rendering even if the RenderTarget isn't valid anymore. - This is essentially just wasting a lot of performance. ## Solution - Detect the window close event and disable any camera that used the window has a RenderTarget. ## Notes It's possible a similar thing could be done for camera that use an image handle, but I would fix that in a separate PR. |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml |