-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes EdgeArrowHeadProgram with instanced rendering
We never cleaned the GL state, while this state is shared between programs that are used by the same GL context. In this case, some vertex attributes were using a divisor for non-instanced rendering programs, which were causing them to fail silently. The fix is to make program unbind everything they can once they draw, so that they no more share common state.
- Loading branch information
Showing
1 changed file
with
31 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