mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-11 01:48:09 +00:00
[idd] driver: improve display mode support and resolution switch
This commit is contained in:
@@ -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()))
|
||||
{
|
||||
|
Reference in New Issue
Block a user