Make sure the EGL evdpy is closed.
This commit is contained in:
parent
1666e091ef
commit
2c8c6304d7
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue