From: <eli...@us...> - 2007-05-27 07:48:45
|
Revision: 2829 http://svn.sourceforge.net/java-game-lib/?rev=2829&view=rev Author: elias_naur Date: 2007-05-27 00:48:43 -0700 (Sun, 27 May 2007) Log Message: ----------- Display: Add GL error check after initial makeCurrent() Modified Paths: -------------- trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java =================================================================== --- trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java 2007-05-27 05:19:19 UTC (rev 2828) +++ trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java 2007-05-27 07:48:43 UTC (rev 2829) @@ -767,6 +767,7 @@ private static void makeCurrentAndSetSwapInterval() throws LWJGLException { makeCurrent(); + Util.checkGLerror(); setSwapInterval(swap_interval); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |