-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix scissor with negative left/bottom
When a viewport with a negative left/bottom was used, an assert would trigger on debug builds and release builds would get a wrong scissor. This bug was introduced recently, we now do the offset/clipping math in 64 bits, which is way simpler and convert back to Viewport at the end. BUGS=[381902791]
- Loading branch information
1 parent
5817ddf
commit 8088db6
Showing
1 changed file
with
38 additions
and
15 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