Finished PBO support implementation

This commit is contained in:
Ioannis Tsakpinis 2005-01-13 20:32:31 +00:00
parent 0c6521397e
commit 2b89043b5f
7 changed files with 222 additions and 66 deletions

View file

@ -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();