From dc3f2897e83c134d06b70a583dbfe2845ec92aaf Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Thu, 14 Jan 2016 16:24:11 -0800 Subject: [PATCH] Remove superfluous X{Un}LockDisplay --- lib/x11/WindowXlib.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/x11/WindowXlib.cpp b/lib/x11/WindowXlib.cpp index a6d7e7d..d1332e0 100644 --- a/lib/x11/WindowXlib.cpp +++ b/lib/x11/WindowXlib.cpp @@ -495,11 +495,7 @@ public: } void present() - { - XLockDisplay(m_xDisp); - glXSwapBuffers(m_xDisp, m_glxWindow); - XUnlockDisplay(m_xDisp); - } + { glXSwapBuffers(m_xDisp, m_glxWindow); } };