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:
parent
529b4ad049
commit
89ab980b38
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue