mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Cleanup.
This commit is contained in:
parent
b7ebbb07b6
commit
0100107fc1
1 changed files with 7 additions and 0 deletions
|
@ -1392,6 +1392,13 @@ namespace bgfx { namespace d3d12
|
||||||
vp.MaxDepth = 1.0f;
|
vp.MaxDepth = 1.0f;
|
||||||
m_commandList->RSSetViewports(1, &vp);
|
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
|
const uint64_t state = 0
|
||||||
| BGFX_STATE_RGB_WRITE
|
| BGFX_STATE_RGB_WRITE
|
||||||
| BGFX_STATE_ALPHA_WRITE
|
| BGFX_STATE_ALPHA_WRITE
|
||||||
|
|
Loading…
Reference in a new issue