Window API changes

This commit is contained in:
Jack Andersen
2018-08-27 19:41:15 -10:00
parent 8ee04c8f1a
commit 70b2518751
3 changed files with 3 additions and 9 deletions

View File

@@ -1500,10 +1500,8 @@ public:
XSendEvent(m_xDisp, se->requestor, False, 0, &reply);
}
void waitForRetrace(IAudioVoiceEngine* engine)
void waitForRetrace()
{
if (engine)
engine->pumpAndMixVoices();
std::unique_lock<std::mutex> lk(m_gfxCtx->m_vsyncmt);
m_gfxCtx->m_vsynccv.wait(lk);
}