Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid using the same cache variable for different passes
The cache variable LastWindowSize was used for checking whether RenderToImage FBO needs to be updated as well as for checking whether DepthPass FBO needs to be updated. If both the modes were used together, the depth pass updates the cache value and never lets RenderToImage mode update its FBO.
- Loading branch information
Showing
1 changed file
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters