Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkaradzic committed Aug 28, 2015
1 parent b7ebbb0 commit 0100107
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/renderer_d3d12.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1392,6 +1392,13 @@ namespace bgfx { namespace d3d12
vp.MaxDepth = 1.0f;
m_commandList->RSSetViewports(1, &vp);

D3D12_RECT rc;
rc.left = 0;
rc.top = 0;
rc.right = width;
rc.bottom = height;
m_commandList->RSSetScissorRects(1, &rc);

const uint64_t state = 0
| BGFX_STATE_RGB_WRITE
| BGFX_STATE_ALPHA_WRITE
Expand Down

0 comments on commit 0100107

Please sign in to comment.