[idd] driver: improve display mode support and resolution switch

This commit is contained in:
Geoffrey McRae committed 2025-03-29 22:42:49 +00:00
1 parent 6396ff1e9c
commit 7afb9b93eb
10 files changed
+194 -60

No files matched your search

+2 -1
View File
@@ -40,7 +40,8 @@ CIndirectMonitorContext::~CIndirectMonitorContext()
void CIndirectMonitorContext::AssignSwapChain(IDDCX_SWAPCHAIN swapChain, LUID renderAdapter, HANDLE newFrameEvent)
{
reInit:
m_swapChain.reset();
UnassignSwapChain();
m_dx11Device = std::make_shared<CD3D11Device>(renderAdapter);
if (FAILED(m_dx11Device->Init()))
{