From 2c8c6304d7b02e1e94ab7a8ebfc96f27864a7481 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Fri, 26 Apr 2013 11:35:42 -0500 Subject: [PATCH] Make sure the EGL evdpy is closed. --- Source/Core/DolphinWX/Src/GLInterface/Platform.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/DolphinWX/Src/GLInterface/Platform.cpp b/Source/Core/DolphinWX/Src/GLInterface/Platform.cpp index 83f064615c..64e32591d8 100644 --- a/Source/Core/DolphinWX/Src/GLInterface/Platform.cpp +++ b/Source/Core/DolphinWX/Src/GLInterface/Platform.cpp @@ -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)