mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 06:53:59 +00:00
Make sure VBOTracker reset the current tracker when GLContext.useContext(null) is called
This commit is contained in:
parent
20537ab57e
commit
6330f8e001
2 changed files with 6 additions and 1 deletions
|
|
@ -234,6 +234,7 @@ public final class GLContext {
|
|||
if (did_auto_load)
|
||||
unloadOpenGLLibrary();
|
||||
currentContext = null;
|
||||
VBOTracker.setCurrent(null);
|
||||
return;
|
||||
}
|
||||
// Is this the same as last time?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue