added keepalive log message

This commit is contained in:
jp9000 2013-04-19 08:40:57 -07:00
parent 5d80168190
commit 7a602445cb
4 changed files with 4 additions and 0 deletions

View File

@ -212,6 +212,7 @@ void DoD3D101Capture(IDXGISwapChain *swap)
CloseHandle(hKeepAlive); CloseHandle(hKeepAlive);
} else { } else {
ClearD3D101Data(); ClearD3D101Data();
logOutput << "Keepalive no longer found on d3d10.1, freeing capture data" << endl;
bCapturing = false; bCapturing = false;
} }

View File

@ -213,6 +213,7 @@ void DoD3D10Capture(IDXGISwapChain *swap)
CloseHandle(hKeepAlive); CloseHandle(hKeepAlive);
} else { } else {
ClearD3D10Data(); ClearD3D10Data();
logOutput << "Keepalive no longer found on d3d910.0, freeing capture data" << endl;
bCapturing = false; bCapturing = false;
} }

View File

@ -246,6 +246,7 @@ void DoD3D11Capture(IDXGISwapChain *swap)
CloseHandle(hKeepAlive); CloseHandle(hKeepAlive);
} else { } else {
ClearD3D11Data(); ClearD3D11Data();
logOutput << "Keepalive no longer found on d3d11, freeing capture data" << endl;
bCapturing = false; bCapturing = false;
} }

View File

@ -625,6 +625,7 @@ void DoD3D9DrawStuff(IDirect3DDevice9 *device)
CloseHandle(hKeepAlive); CloseHandle(hKeepAlive);
} else { } else {
ClearD3D9Data(); ClearD3D9Data();
logOutput << "Keepalive no longer found on d3d9, freeing capture data" << endl;
bCapturing = false; bCapturing = false;
} }