1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-02 19:24:12 +01:00

[dxgi] Add stub implementation of DXGI_PRESENT_TEST

This commit is contained in:
Philip Rebohle 2018-02-18 23:49:00 +01:00
parent 7ddd2500d1
commit 45a03b11be

View File

@ -158,6 +158,9 @@ namespace dxvk {
HRESULT STDMETHODCALLTYPE DxgiSwapChain::Present(UINT SyncInterval, UINT Flags) {
std::lock_guard<std::recursive_mutex> lock(m_mutex);
if (Flags & DXGI_PRESENT_TEST)
return S_OK;
try {
// Submit pending rendering commands
// before recording the present code.