mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[host] dxgi: re-send the last frame if capture times out
This change prevents the guest from stalling on startup if there are no frames being captured
This commit is contained in:
@@ -80,6 +80,10 @@ namespace Capture
|
||||
IDXGIOutput1Ptr m_output;
|
||||
IDXGIOutputDuplicationPtr m_dup;
|
||||
ID3D11Texture2DPtr m_texture;
|
||||
IDXGISurface1Ptr m_surface;
|
||||
D3D11_TEXTURE2D_DESC m_desc;
|
||||
DXGI_MAPPED_RECT m_rect;
|
||||
bool m_surfaceMapped;
|
||||
BYTE * m_pointer;
|
||||
UINT m_pointerBufSize;
|
||||
UINT m_pointerSize;
|
||||
|
Reference in New Issue
Block a user