Move native stub initialization from extgl into GLContext.java. Makes it much easier to

exlude extensions classes. Furthermore, GLContext.useContext(null) can now be used to
reset the native stubs when no context is current.
This commit is contained in:
Elias Naur 2004-07-03 21:12:33 +00:00
parent 2cc7e0d02f
commit 15934fd6e7
122 changed files with 842 additions and 1033 deletions

View file

@ -35,6 +35,8 @@ import java.nio.ByteBuffer;
public final class ATIMapObjectBuffer {
static native void initNativeStubs();
/**
* glMapObjectBufferATI maps a gl object buffer to a ByteBuffer. The oldBuffer argument can be
* null, in which case a new ByteBuffer will be created, pointing to the returned memory. If
@ -52,4 +54,4 @@ public final class ATIMapObjectBuffer {
public static native void glUnmapObjectBufferATI(int buffer);
}
}