bevy/crates/bevy_render
IceSentry 75da2e7adf
Disable camera on window close (#8802)
# 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.
2023-06-10 19:50:37 +00:00
..
macros update syn, encase, glam and hexasphere (#8573) 2023-05-16 01:24:17 +00:00
src Disable camera on window close (#8802) 2023-06-10 19:50:37 +00:00
Cargo.toml Update ruzstd requirement from 0.3.1 to 0.4.0 (#8755) 2023-06-06 21:04:07 +00:00