-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When the Image is initially created, it has to wait one more tick to create the Texture. This would cause problems if the user calls Renderer.bindTexture before that happens, resulting in a crash. We solve this by just providing 0 as the id, which will just render black for that one tick before it gets loaded.
- Loading branch information
1 parent
f94350b
commit 74e9275
Showing
2 changed files
with
4 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
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