-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ecere/gfx/drivers/GL/GLAB: Improved handling element buffers with VAO
- Not modifying active element buffer when VAOs are on, except for default VAO - Not using glabCurElementBuffer with VAO except for defaultVAO, as each VAO may have a different active element buffer - Removed unecessary / wrong WebGL-specific logic - New GLABBindVertexArray() call to keep track of active VAO - NOTE: VAO usage currently expects a single context / display - butterbur: Updated to use GLABBindVertexArray() - samples/3D/CubicWorld: Updated to use GLABBindVertexArray() - samples/3D/CubicWorld: Improved readability e.g., splitting prepareMultiDraw() into multiple methods
- Loading branch information
1 parent
6b7f422
commit 4abfbe4
Showing
9 changed files
with
199 additions
and
182 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
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
Oops, something went wrong.