Skip to content

Commit

Permalink
[host] d12: handle error when windows switches to the secure desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
gnif committed Jan 30, 2024
1 parent 4523b9b commit 462d818
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions host/platform/Windows/capture/D12/backend/dd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 462d818

Please sign in to comment.