Make sure the EGL evdpy is closed.

This commit is contained in:
Glenn Rice 2013-04-26 11:35:42 -05:00
parent 1666e091ef
commit 2c8c6304d7
1 changed files with 3 additions and 0 deletions

View File

@ -115,7 +115,10 @@ out:
#if HAVE_X11
if (selected_platform != EGL_PLATFORM_X11) {
if (GLWin.dpy)
{
XCloseDisplay(GLWin.dpy);
XCloseDisplay(GLWin.evdpy);
}
}
#endif
if (selected_platform == EGL_PLATFORM_NONE)