Skip to content

Commit

Permalink
Unbind vertex buffer when exiting managed context
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt committed Sep 16, 2024
1 parent 7fc57ff commit 4de314e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ public void makeInactive() {
return;
}

VertexBuffer.unbind();

this.stateTracker.clear();
this.isActive = false;
}
Expand Down

0 comments on commit 4de314e

Please sign in to comment.