From: Elias N. <eli...@us...> - 2003-03-30 19:26:41
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory sc8-pr-cvs1:/tmp/cvs-serv14073/src/java/org/lwjgl/opengl Modified Files: BaseGL.java Log Message: Linux/win32 changes for 0.6 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.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- BaseGL.java 28 Mar 2003 21:03:30 -0000 1.14 +++ BaseGL.java 30 Mar 2003 19:26:38 -0000 1.15 @@ -133,6 +133,15 @@ protected void doCreate() throws Exception { nCreate(getTitle(), x, y, getWidth(), getHeight(), color, alpha, depth, stencil, fullscreen); } + + protected void doPaint() { + swapBuffers(); + } + + /** + * Swap the buffers. + */ + private native void swapBuffers(); /** * Native method to create a windowed GL |