d3d12: Add a (ugly) fix because of some race condition somewhere

This commit is contained in:
vlj 2015-06-26 21:33:01 +02:00 committed by Vincent Lejeune
parent 8cf6255d5d
commit a519aa8350

View File

@ -1066,6 +1066,10 @@ void D3D12GSRender::Flip()
std::this_thread::yield();
m_frame->Flip(nullptr);
// FIXME: Without this call Voodoo Chronicles + Warp trigger an error because
// index/vertex resources are released before being used.
m_GC.waitForCompletion();
ResetTimer();
}