diff --git a/vendor/DXGICapture/DXGIManager.cpp b/vendor/DXGICapture/DXGIManager.cpp index 8cbf41d9..400c0b3e 100644 --- a/vendor/DXGICapture/DXGIManager.cpp +++ b/vendor/DXGICapture/DXGIManager.cpp @@ -97,7 +97,8 @@ HRESULT DXGIOutputDuplication::AcquireNextFrame(IDXGISurface1** pDXGISurface, DX *pDXGISurface = spDXGISurface.Detach(); - if (pDXGIPointer) + + if (pDXGIPointer && fi.LastMouseUpdateTime.QuadPart != 0) pDXGIPointer->GetFrameInfo().PointerPosition.Visible = fi.PointerPosition.Visible; // Updating mouse pointer, if visible