From c0cd51764da1eb709500bf98af4ed1ae293072cf Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Tue, 30 Jan 2018 08:45:50 +0100 Subject: [PATCH] [dxgi] Remove SyncInterval implementation Poorly tested, may cause trouble --- src/dxgi/dxgi_swapchain.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/dxgi/dxgi_swapchain.cpp b/src/dxgi/dxgi_swapchain.cpp index b52d869f..2855b9bb 100644 --- a/src/dxgi/dxgi_swapchain.cpp +++ b/src/dxgi/dxgi_swapchain.cpp @@ -176,9 +176,7 @@ namespace dxvk { swapchainProps.preferredBufferSize = GetWindowSize(); m_presenter->recreateSwapchain(swapchainProps); - - for (uint32_t i = 0; i < SyncInterval || i < 1; i++) - m_presenter->presentImage(); + m_presenter->presentImage(); return S_OK; } catch (const DxvkError& err) { Logger::err(err.message());