Author: ArcRiley
Date: 2008-02-11 07:10:10 -0500 (Mon, 11 Feb 2008)
New Revision: 863
Modified:
trunk/pysoy/src/_core/Window-x11.pxi
Log:
Making CoreLoop nicely release the context before unmapping the window, to make
closure/cleanup faster
Modified: trunk/pysoy/src/_core/Window-x11.pxi
===================================================================
--- trunk/pysoy/src/_core/Window-x11.pxi 2008-02-11 12:05:45 UTC (rev
862)
+++ trunk/pysoy/src/_core/Window-x11.pxi 2008-02-11 12:10:10 UTC (rev
863)
@@ -142,6 +142,7 @@
if self._opened == OpReadyCreate :
self._coreCreate()
elif self._opened == OpReadyUnmap :
+ glx.glXMakeCurrent(_display, 0, NULL)
glx.XUnmapWindow(_display, self._windowID)
self._opened = OpWaitUnmap
glx.XFlush(_display)
_______________________________________________
PySoy-SVN mailing list
[email protected]
http://www.pysoy.org/mailman/listinfo/pysoy-svn