mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 14:52:10 +01:00
[dxgi] Initialize DxgiOptions before DxgiMonitorInfo
Needed to we can access DxgiOptions inside of DxgiMonitorInfo for the dxgi.enableHDR property coming up in a future commit.
This commit is contained in:
parent
f25475d05e
commit
3375cdf1fa
@ -7,8 +7,8 @@ namespace dxvk {
|
|||||||
|
|
||||||
DxgiFactory::DxgiFactory(UINT Flags)
|
DxgiFactory::DxgiFactory(UINT Flags)
|
||||||
: m_instance (new DxvkInstance()),
|
: m_instance (new DxvkInstance()),
|
||||||
m_monitorInfo (this),
|
|
||||||
m_options (m_instance->config()),
|
m_options (m_instance->config()),
|
||||||
|
m_monitorInfo (this),
|
||||||
m_flags (Flags) {
|
m_flags (Flags) {
|
||||||
for (uint32_t i = 0; m_instance->enumAdapters(i) != nullptr; i++)
|
for (uint32_t i = 0; m_instance->enumAdapters(i) != nullptr; i++)
|
||||||
m_instance->enumAdapters(i)->logAdapterInfo();
|
m_instance->enumAdapters(i)->logAdapterInfo();
|
||||||
|
@ -146,8 +146,8 @@ namespace dxvk {
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
Rc<DxvkInstance> m_instance;
|
Rc<DxvkInstance> m_instance;
|
||||||
DxgiMonitorInfo m_monitorInfo;
|
|
||||||
DxgiOptions m_options;
|
DxgiOptions m_options;
|
||||||
|
DxgiMonitorInfo m_monitorInfo;
|
||||||
UINT m_flags;
|
UINT m_flags;
|
||||||
|
|
||||||
HWND m_associatedWindow = nullptr;
|
HWND m_associatedWindow = nullptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user