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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402000
This commit is contained in:
Sam Lantinga 2006-07-29 03:56:35 +00:00
parent 529b4ad049
commit 89ab980b38

View file

@ -288,7 +288,11 @@ X11_GL_Shutdown(_THIS)
return; 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); SDL_free(_this->gl_data);
_this->gl_data = NULL; _this->gl_data = NULL;