mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-14 15:46:19 +00:00
Window API changes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user