mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 06:53:59 +00:00
Finished PBO support implementation
This commit is contained in:
parent
0c6521397e
commit
2b89043b5f
7 changed files with 222 additions and 66 deletions
|
|
@ -243,7 +243,7 @@ public final class GLContext {
|
|||
if ( did_auto_load )
|
||||
unloadOpenGLLibrary();
|
||||
currentContext = null;
|
||||
VBOTracker.setCurrent(null);
|
||||
BufferObjectTracker.setCurrent(null);
|
||||
return;
|
||||
}
|
||||
// Is this the same as last time?
|
||||
|
|
@ -261,7 +261,7 @@ public final class GLContext {
|
|||
try {
|
||||
loadStubs();
|
||||
currentContext = new WeakReference(context);
|
||||
VBOTracker.setCurrent(context);
|
||||
BufferObjectTracker.setCurrent(context);
|
||||
} catch (LWJGLException e) {
|
||||
if ( did_auto_load )
|
||||
unloadOpenGLLibrary();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue