From: <eli...@us...> - 2007-08-30 18:27:14
|
Revision: 2896 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=2896&view=rev Author: elias_naur Date: 2007-08-30 11:27:12 -0700 (Thu, 30 Aug 2007) Log Message: ----------- Mac OS X: Release and clear the context from the drawable in the correct order 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-08-30 12:34:56 UTC (rev 2895) +++ trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java 2007-08-30 18:27:12 UTC (rev 2896) @@ -277,8 +277,8 @@ } try { if (context != null && context.isCurrent()) { + Context.releaseCurrentContext(); context.releaseDrawable(); - Context.releaseCurrentContext(); } } catch (LWJGLException e) { LWJGLUtil.log("Exception occurred while trying to release context: " + e); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |