Remove superfluous X{Un}LockDisplay

This commit is contained in:
Phillip Stephens 2016-01-14 16:24:11 -08:00
parent 9b416c6549
commit dc3f2897e8
1 changed files with 1 additions and 5 deletions

View File

@ -495,11 +495,7 @@ public:
}
void present()
{
XLockDisplay(m_xDisp);
glXSwapBuffers(m_xDisp, m_glxWindow);
XUnlockDisplay(m_xDisp);
}
{ glXSwapBuffers(m_xDisp, m_glxWindow); }
};