Make sure the EGL evdpy is closed.
This commit is contained in:
@@ -115,7 +115,10 @@ out:
|
|||||||
#if HAVE_X11
|
#if HAVE_X11
|
||||||
if (selected_platform != EGL_PLATFORM_X11) {
|
if (selected_platform != EGL_PLATFORM_X11) {
|
||||||
if (GLWin.dpy)
|
if (GLWin.dpy)
|
||||||
|
{
|
||||||
XCloseDisplay(GLWin.dpy);
|
XCloseDisplay(GLWin.dpy);
|
||||||
|
XCloseDisplay(GLWin.evdpy);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (selected_platform == EGL_PLATFORM_NONE)
|
if (selected_platform == EGL_PLATFORM_NONE)
|
||||||
|
|||||||
Reference in New Issue
Block a user