Please sign in to comment.
FramebufferManager: Only clear tile array when valid
When looking into the Faron Woods fifolog, I noticed this code was quite high in the profile (~10%). Clearing 4096 entries from the vector isn't needed every draw, we only need to do this when the cache was actually valid in the first place. Should provide a slight general performance boost.
- Loading branch information...
Showing with 6 additions and 2 deletions.