-
-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPBGE: Allow creating custom filter without shader source.
Previously the user was obligated to specify a fragment source when calling filter.addFilter for custom filter. But if the user want to use a custom shader it was impossible to not failed the first compilation and then call setSourceList. To avoid an useless compilation failure, the function addFilter allow creating a custom shader without receiving any fragment source. This produces a empty filter unused in rendering while the user doesn't called setSourceList.
- Loading branch information
1 parent
6926baf
commit 41b0776
Showing
2 changed files
with
6 additions
and
4 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