diff --git a/src/renderer_d3d12.cpp b/src/renderer_d3d12.cpp index e4f5243c0..3b1337dc4 100644 --- a/src/renderer_d3d12.cpp +++ b/src/renderer_d3d12.cpp @@ -4818,15 +4818,10 @@ data.NumQualityLevels = 0; { if (m_needPresent) { -#if 1 HRESULT hr = m_swapChain->Present(_syncInterval, _flags); hr = !isLost(hr) ? S_OK : hr; m_needPresent = false; return hr; -#else - m_needPresent = false; - return S_OK; -#endif // 0 } return S_OK;