Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes bevyengine#12000: When Viewport is set to Camera and switched t…
…o SizedFullscreen, panic may occur When ajusting to SizedFullscreen, the window size might be lower than the viewport size, causing the render target to be smaller than the Viewport. The fix consist of matching the viewport size with the render target size when this is lower, avoiding panic. These lower values may vary depending on the device.
- Loading branch information