1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-05 19:46:15 +01:00
dxvk/src/dxgi/dxgi_options.cpp

13 lines
422 B
C++
Raw Normal View History

2018-05-24 12:31:04 +02:00
#include "dxgi_options.h"
#include <unordered_map>
namespace dxvk {
DxgiOptions::DxgiOptions(const Config& config) {
this->deferSurfaceCreation = config.getOption<bool> ("dxgi.deferSurfaceCreation", false);
this->fakeDx10Support = config.getOption<bool> ("dxgi.fakeDx10Support", false);
this->maxFrameLatency = config.getOption<int32_t> ("dxgi.maxFrameLatency", 0);
2018-05-24 12:31:04 +02:00
}
}