mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-07-21 06:42:02 +00:00
[idd] disable HDR and post-processing when in software mode
This commit is contained in:
@@ -64,7 +64,8 @@ void CIndirectMonitorContext::AssignSwapChain(IDDCX_SWAPCHAIN swapChain, LUID re
|
||||
|
||||
UINT64 alignSize = CPlatformInfo::GetPageSize();
|
||||
dx12Device = std::make_shared<CD3D12Device>(renderAdapter);
|
||||
CD3D12Device::InitResult r = dx12Device->Init(m_devContext->GetIVSHMEM(), alignSize);
|
||||
CD3D12Device::InitResult r = dx12Device->Init(
|
||||
m_devContext->GetIVSHMEM(), alignSize, !dx11Device->IsSoftware());
|
||||
if (r == CD3D12Device::RETRY)
|
||||
{
|
||||
dx12Device.reset();
|
||||
|
||||
Reference in New Issue
Block a user