Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xintern/ghost/intern/GHOST_WindowX11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp
index 1503dbe9ffc..828caaac782 100755
--- a/intern/ghost/intern/GHOST_WindowX11.cpp
+++ b/intern/ghost/intern/GHOST_WindowX11.cpp
@@ -492,13 +492,13 @@ GHOST_WindowX11::
XFreeCursor(m_display, m_custom_cursor);
}
- XDestroyWindow(m_display, m_window);
if (m_context) {
if (m_context == s_firstContext) {
s_firstContext = NULL;
}
glXDestroyContext(m_display, m_context);
}
+ XDestroyWindow(m_display, m_window);
XFree(m_visual);
}