projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
355d442
)
fixed: if we're checking member variables for != 0, then it's a good idea to set...
author
bobo1on1
<bobo1on1@svn>
Thu, 30 Sep 2010 15:27:10 +0000
(15:27 +0000)
committer
bobo1on1
<bobo1on1@svn>
Thu, 30 Sep 2010 15:27:10 +0000
(15:27 +0000)
(cherry picked from commit
8700613d1c80a60065b4074f80bad3b9c394ffde
)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/Dharma@34329
568bbfeb
-2a22-0410-94d2-
cc84cf5bfa90
xbmc/WinSystemX11.cpp
patch
|
blob
|
history
diff --git
a/xbmc/WinSystemX11.cpp
b/xbmc/WinSystemX11.cpp
index
8653b7b
..
0b4f5f6
100644
(file)
--- a/
xbmc/WinSystemX11.cpp
+++ b/
xbmc/WinSystemX11.cpp
@@
-77,7
+77,11
@@
bool CWinSystemX11::DestroyWindowSystem()
{
if (m_glContext)
glXDestroyContext(m_dpy, m_glContext);
+
+ m_glContext = 0;
+
XCloseDisplay(m_dpy);
+ m_dpy = NULL;
}
// m_SDLSurface is free()'d by SDL_Quit().