[idd] apply resolution after the final replug
Preserve the requested display mode across intermediate swap chains when rapid resolution changes cause replugs to be coalesced. Apply and clear the mode only once the final replacement swap chain is ready.
This commit is contained in:
1 parent
5adc22ebca
commit
2f237a841c
3 files changed
+14
-15
No files matched your search
@@ -192,7 +192,6 @@ NTSTATUS LGIddMonitorAssignSwapChain(IDDCX_MONITOR monitor, const IDARG_IN_SETSW
|
||||
auto * wrapper = WdfObjectGet_CIndirectMonitorContextWrapper(monitor);
|
||||
wrapper->context->AssignSwapChain(
|
||||
inArgs->hSwapChain, inArgs->RenderAdapterLuid, inArgs->hNextSurfaceAvailable);
|
||||
wrapper->context->GetDeviceContext()->OnAssignSwapChain();
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user