mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-08 16:04:39 +00:00
Use WeakHashMap in the static mapping from contexts to vbo trackers in VBOTracker.java.
This commit is contained in:
parent
1187d0e3e8
commit
20537ab57e
3 changed files with 3 additions and 15 deletions
|
|
@ -252,7 +252,7 @@ public final class GLContext {
|
|||
GL11.initNativeStubs();
|
||||
loadStubs();
|
||||
currentContext = new WeakReference(context);
|
||||
VBOTracker.setCurrent(currentContext);
|
||||
VBOTracker.setCurrent(context);
|
||||
} catch (LWJGLException e) {
|
||||
if (did_auto_load)
|
||||
unloadOpenGLLibrary();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue