Skip to content

Commit d535686

Browse files
committed
DeskDupl: AcquireNextFrame on Timeout
1 parent 7239080 commit d535686

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/DesktopDuplication/DuplCapture.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ public bool Get(Texture2D Texture, DxMousePointer DxMousePointer)
100100

101101
if (acquireResult.Result == ResultCode.WaitTimeout)
102102
{
103+
BeginAcquireFrame();
104+
103105
return false;
104106
}
105107

0 commit comments

Comments
 (0)