Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Removed GL_SelectTexUnits()
This ancient function made the assumption that the only texture type we use is GL_TEXTURE_2D, which, while presently correct, will not be true for much longer. Furthermore, changing the active state of a GL texture unit should not inherently result in the implicit enabling or disabling of a specific texture type for that unit. Thus the logic of this function is no longer suitable as a global utility routine. The two remaining users of this function (the render lists and sprite renderer modules) now implement their own versions of this function.
- Loading branch information
1 parent
e247a14
commit d7ebc28
Showing
4 changed files
with
80 additions
and
72 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
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