Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If binding a NULL program, disable any vertex arrays we previously en…
…abled. This is done in case the caller is switching to the fixed function pipeline and needs more control over the vertex arrays. So to minimize state changes, don't bind a NULL program between draws if you're just going to bind a new program later.
- Loading branch information
Showing
1 changed file
with
35 additions
and
30 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