Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl
In directory sc8-pr-cvs1:/tmp/cvs-serv25128/src/java/org/lwjgl/opengl
Modified Files:
BaseGL.java
Log Message:
I like those makeContextCurrent/releaseContext...
Index: BaseGL.java
CVS Browser:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/BaseGL.java
===================================================================
RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/BaseGL.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- BaseGL.java 30 Mar 2003 19:26:38 -0000 1.15
+++ BaseGL.java 30 Mar 2003 19:40:35 -0000 1.16
@@ -170,4 +170,14 @@
*/
private native void nDestroyGL();
+ /**
+ * Make the GL context current to the current thread
+ */
+ public native void makeContextCurrent();
+
+ /**
+ * Release the GL context
+ */
+ public native void releaseContext();
+
}
|