mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[host] dxgi: fix termination due to wait timeout
This commit is contained in:
parent
4e6c1ea648
commit
49acc6ec0b
@ -255,7 +255,7 @@ GrabStatus DXGI::GrabFrame(FrameInfo & frame)
|
||||
if (status == DXGI_ERROR_WAIT_TIMEOUT)
|
||||
{
|
||||
if (!m_surfaceMapped)
|
||||
break;
|
||||
continue;
|
||||
|
||||
// send the last frame again if we timeout to prevent the client stalling on restart
|
||||
frame.width = m_desc.Width;
|
||||
|
Loading…
Reference in New Issue
Block a user