Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information