From 109300d5412da59106621964a909225d19b736ed Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Mon, 14 Jan 2019 19:21:10 +0100 Subject: [PATCH] [d3d11] Remove unused syncMode option --- src/d3d11/d3d11_options.cpp | 1 - src/d3d11/d3d11_options.h | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/src/d3d11/d3d11_options.cpp b/src/d3d11/d3d11_options.cpp index 69ed718d..153157ca 100644 --- a/src/d3d11/d3d11_options.cpp +++ b/src/d3d11/d3d11_options.cpp @@ -15,7 +15,6 @@ namespace dxvk { this->numBackBuffers = config.getOption("dxgi.numBackBuffers", 0); this->maxFrameLatency = config.getOption("dxgi.maxFrameLatency", 0); this->syncInterval = config.getOption("dxgi.syncInterval", -1); - this->syncMode = D3D11SwapChainSyncMode(config.getOption("dxgi.syncMode", 0)); } } \ No newline at end of file diff --git a/src/d3d11/d3d11_options.h b/src/d3d11/d3d11_options.h index 6ee23385..b520978c 100644 --- a/src/d3d11/d3d11_options.h +++ b/src/d3d11/d3d11_options.h @@ -8,14 +8,6 @@ namespace dxvk { - /** - * \brief Sync mode - */ - enum class D3D11SwapChainSyncMode : int32_t { - Default = 0, - Mailbox = 1, - }; - struct D3D11Options { D3D11Options(const Config& config); /// Handle D3D11_MAP_FLAG_DO_NOT_WAIT properly. @@ -76,9 +68,6 @@ namespace dxvk { /// fixes issues with games that create multiple swap chains /// for a single window that may interfere with each other. bool deferSurfaceCreation; - - /// Vsync mode - D3D11SwapChainSyncMode syncMode; }; } \ No newline at end of file