mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-05 01:24:14 +01:00
[d3d11] Remove unused syncMode option
This commit is contained in:
parent
2bae3a5c8b
commit
109300d541
@ -15,7 +15,6 @@ namespace dxvk {
|
|||||||
this->numBackBuffers = config.getOption<int32_t>("dxgi.numBackBuffers", 0);
|
this->numBackBuffers = config.getOption<int32_t>("dxgi.numBackBuffers", 0);
|
||||||
this->maxFrameLatency = config.getOption<int32_t>("dxgi.maxFrameLatency", 0);
|
this->maxFrameLatency = config.getOption<int32_t>("dxgi.maxFrameLatency", 0);
|
||||||
this->syncInterval = config.getOption<int32_t>("dxgi.syncInterval", -1);
|
this->syncInterval = config.getOption<int32_t>("dxgi.syncInterval", -1);
|
||||||
this->syncMode = D3D11SwapChainSyncMode(config.getOption<int32_t>("dxgi.syncMode", 0));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -8,14 +8,6 @@
|
|||||||
|
|
||||||
namespace dxvk {
|
namespace dxvk {
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief Sync mode
|
|
||||||
*/
|
|
||||||
enum class D3D11SwapChainSyncMode : int32_t {
|
|
||||||
Default = 0,
|
|
||||||
Mailbox = 1,
|
|
||||||
};
|
|
||||||
|
|
||||||
struct D3D11Options {
|
struct D3D11Options {
|
||||||
D3D11Options(const Config& config);
|
D3D11Options(const Config& config);
|
||||||
/// Handle D3D11_MAP_FLAG_DO_NOT_WAIT properly.
|
/// Handle D3D11_MAP_FLAG_DO_NOT_WAIT properly.
|
||||||
@ -76,9 +68,6 @@ namespace dxvk {
|
|||||||
/// fixes issues with games that create multiple swap chains
|
/// fixes issues with games that create multiple swap chains
|
||||||
/// for a single window that may interfere with each other.
|
/// for a single window that may interfere with each other.
|
||||||
bool deferSurfaceCreation;
|
bool deferSurfaceCreation;
|
||||||
|
|
||||||
/// Vsync mode
|
|
||||||
D3D11SwapChainSyncMode syncMode;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user