On Mon, 12 Aug 2002, [X-UNKNOWN] g�nter geiger wrote:
I think the behaviour you get (the segfault) is indeed a XServer problem.
.. wrong, forget that.
its what you suspected, there is an easy fix:
Guenter
*** src/Base/GemMan.cpp 2 Aug 2002 09:40:37 -0000 1.1.1.1 --- src/Base/GemMan.cpp 12 Aug 2002 13:52:17 -0000
*** 226,232 **** error("GEM: A serious error occured creating const Context"); error("GEM: Do not continue!"); } ! m_windowContext = 1; setResizeCallback(resizeCallback, NULL); }
--- 226,233 ---- error("GEM: A serious error occured creating const Context"); error("GEM: Do not continue!"); } ! else ! m_windowContext = 1; setResizeCallback(resizeCallback, NULL); }
*** 920,926 ****
// reestablish the const glxContext
#ifdef unix // for Unix ! glXMakeCurrent(constInfo.dpy, constInfo.win, constInfo.context); #elif _WINDOWS // for Windows wglMakeCurrent(constInfo.dc, constInfo.context); s_windowRun = 0; --- 921,928 ----
// reestablish the const glxContext
#ifdef unix // for Unix ! if (m_windowContext) ! glXMakeCurrent(constInfo.dpy, constInfo.win, constInfo.context); #elif _WINDOWS // for Windows wglMakeCurrent(constInfo.dc, constInfo.context); s_windowRun = 0;