mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
Make sure the EGL evdpy is closed.
This commit is contained in:
parent
1666e091ef
commit
2c8c6304d7
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue