diff --git a/GraphicsCapture/GraphicsCaptureHook/D3D10.1Capture.cpp b/GraphicsCapture/GraphicsCaptureHook/D3D10.1Capture.cpp index 74688593..2144f1fe 100644 --- a/GraphicsCapture/GraphicsCaptureHook/D3D10.1Capture.cpp +++ b/GraphicsCapture/GraphicsCaptureHook/D3D10.1Capture.cpp @@ -212,6 +212,7 @@ void DoD3D101Capture(IDXGISwapChain *swap) CloseHandle(hKeepAlive); } else { ClearD3D101Data(); + logOutput << "Keepalive no longer found on d3d10.1, freeing capture data" << endl; bCapturing = false; } diff --git a/GraphicsCapture/GraphicsCaptureHook/D3D10Capture.cpp b/GraphicsCapture/GraphicsCaptureHook/D3D10Capture.cpp index cc1ca845..071d1097 100644 --- a/GraphicsCapture/GraphicsCaptureHook/D3D10Capture.cpp +++ b/GraphicsCapture/GraphicsCaptureHook/D3D10Capture.cpp @@ -213,6 +213,7 @@ void DoD3D10Capture(IDXGISwapChain *swap) CloseHandle(hKeepAlive); } else { ClearD3D10Data(); + logOutput << "Keepalive no longer found on d3d910.0, freeing capture data" << endl; bCapturing = false; } diff --git a/GraphicsCapture/GraphicsCaptureHook/D3D11Capture.cpp b/GraphicsCapture/GraphicsCaptureHook/D3D11Capture.cpp index 3566b2a0..cb05da48 100644 --- a/GraphicsCapture/GraphicsCaptureHook/D3D11Capture.cpp +++ b/GraphicsCapture/GraphicsCaptureHook/D3D11Capture.cpp @@ -246,6 +246,7 @@ void DoD3D11Capture(IDXGISwapChain *swap) CloseHandle(hKeepAlive); } else { ClearD3D11Data(); + logOutput << "Keepalive no longer found on d3d11, freeing capture data" << endl; bCapturing = false; } diff --git a/GraphicsCapture/GraphicsCaptureHook/D3D9Capture.cpp b/GraphicsCapture/GraphicsCaptureHook/D3D9Capture.cpp index 215091ed..4f4830f6 100644 --- a/GraphicsCapture/GraphicsCaptureHook/D3D9Capture.cpp +++ b/GraphicsCapture/GraphicsCaptureHook/D3D9Capture.cpp @@ -625,6 +625,7 @@ void DoD3D9DrawStuff(IDirect3DDevice9 *device) CloseHandle(hKeepAlive); } else { ClearD3D9Data(); + logOutput << "Keepalive no longer found on d3d9, freeing capture data" << endl; bCapturing = false; }