Skip to content

Commit

Permalink
Merge pull request #1 from emoon/d3d11-fix
Browse files Browse the repository at this point in the history
Changed the order for D3D11 and D3D10 capture
  • Loading branch information
rygorous committed Aug 11, 2015
2 parents 94df186 + 3db164d commit c78905d
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 c78905d

Please sign in to comment.