[d3d11] Remove unused syncMode option

This commit is contained in:
Philip Rebohle 2019-01-14 19:21:10 +01:00
parent 2bae3a5c8b
commit 109300d541
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
2 changed files with 0 additions and 12 deletions

View File

@ -15,7 +15,6 @@ namespace dxvk {
this->numBackBuffers = config.getOption<int32_t>("dxgi.numBackBuffers", 0);
this->maxFrameLatency = config.getOption<int32_t>("dxgi.maxFrameLatency", 0);
this->syncInterval = config.getOption<int32_t>("dxgi.syncInterval", -1);
this->syncMode = D3D11SwapChainSyncMode(config.getOption<int32_t>("dxgi.syncMode", 0));
}
}

View File

@ -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;
};
}