Skip to content

Commit

Permalink
Changed the order for D3D11 and D3D10 capture
Browse files Browse the repository at this point in the history
Changed the call order for these two functions in order to get proper D3D11 capture
  • Loading branch information
emoon committed Aug 11, 2015
1 parent 94df186 commit 3db164d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kkapturedll/video_direct3d10.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ static HRESULT __stdcall Mine_SwapChain_Present(IDXGISwapChain *me,UINT SyncInte

if(params.CaptureVideo)
{
if (grabFrameD3D10(me) || grabFrameD3D11(me))
if (grabFrameD3D11(me) || grabFrameD3D10(me))
encoder->WriteFrame(captureData);
}

Expand Down

0 comments on commit 3db164d

Please sign in to comment.