-
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.
make scissor() work the same way on all backends
scissor() works like on metal now, that is, it is disabled when a render pass starts. The GL backend already assumed this in debug mode. We cannot really run into issues at the moment because every time we get a new MaterialInstance we set the scissor -- we do this both for the color pass and the post-process passes. With this change we will be able to skip setting the scissor altogether in a lot of cases.
- Loading branch information
1 parent
67f37d4
commit fe15a30
Showing
2 changed files
with
11 additions
and
8 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
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