Fix an omission from the last commit.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6594 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2010-12-16 18:39:57 +00:00
parent 4553699077
commit 4295f2f008
2 changed files with 5 additions and 1 deletions

View File

@ -143,7 +143,7 @@ void DestroyXWindow(void)
XUnmapWindow(GLWin.dpy, GLWin.win);
GLWin.win = 0;
if (GLWin.xEventThread)
GLWin.xEventThread->WaitForDeath();
delete GLWin.xEventThread;
GLWin.xEventThread = NULL;
XFreeColormap(GLWin.evdpy, GLWin.attr.colormap);
}