Commit b8101a64 authored by Bob Pendleton's avatar Bob Pendleton

Deleted a call to X__PumpEvents at the end of X11_GL_InitExtensions(). This...

Deleted a call to X__PumpEvents at the end of X11_GL_InitExtensions(). This function is being called from SDL_RecreateWindow at a point when the numwindows value in
is incorrect. The result is that an illegal access is being made in X_PumpEvents when it tries to look up the windows ID of the source of an event. Taking out that
call does not seem to have any effect on the testgl. But, I would be happy if someone else took a look at this problem and found a fix higher up the stack.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402737
parent ff06a9b0
...@@ -251,7 +251,7 @@ X11_GL_InitExtensions(_THIS) ...@@ -251,7 +251,7 @@ X11_GL_InitExtensions(_THIS)
_this->gl_data->glXDestroyContext(display, context); _this->gl_data->glXDestroyContext(display, context);
} }
XDestroyWindow(display, w); XDestroyWindow(display, w);
X11_PumpEvents(_this); /* X11_PumpEvents(_this); */ /* can't do that because the windowlist may be inconsitent at this point */
} }
int int
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment