Commit 89ab980b authored by Sam Lantinga's avatar Sam Lantinga

Don't unload the OpenGL library before the X display is closed.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402000
parent 529b4ad0
......@@ -288,7 +288,11 @@ X11_GL_Shutdown(_THIS)
return;
}
X11_GL_UnloadLibrary(_this);
/* Don't actually unload the library, since it may have registered
* X11 shutdown hooks, per the notes at:
* http://dri.sourceforge.net/doc/DRIuserguide.html
* //X11_GL_UnloadLibrary(_this);
*/
SDL_free(_this->gl_data);
_this->gl_data = NULL;
......
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