[host] d12: handle error when windows switches to the secure desktop

This commit is contained in:
Geoffrey McRae 2024-01-31 05:42:30 +11:00
parent 4523b9ba00
commit 462d8187b6

View file

@ -287,6 +287,7 @@ static CaptureResult d12_dd_hResultToCaptureResult(const HRESULT status)
case WAIT_ABANDONED:
case DXGI_ERROR_ACCESS_LOST:
case DXGI_ERROR_INVALID_CALL:
return CAPTURE_RESULT_REINIT;
default: