Cleanup.
This commit is contained in:
parent
360517bdc8
commit
b95833f09f
@ -2802,6 +2802,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
||||
{
|
||||
uint32_t cull = (_state&BGFX_STATE_CULL_MASK)>>BGFX_STATE_CULL_SHIFT;
|
||||
|
||||
#if BX_PLATFORM_WINDOWS
|
||||
if (m_deviceInterfaceVersion >= 3)
|
||||
{
|
||||
D3D11_RASTERIZER_DESC2 desc;
|
||||
@ -2825,6 +2826,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
||||
DX_CHECK(device3->CreateRasterizerState2(&desc, reinterpret_cast<ID3D11RasterizerState2**>(&rs) ) );
|
||||
}
|
||||
else
|
||||
#endif // BX_PLATFORM_WINDOWS
|
||||
{
|
||||
D3D11_RASTERIZER_DESC desc;
|
||||
desc.FillMode = _wireframe ? D3D11_FILL_WIREFRAME : D3D11_FILL_SOLID;
|
||||
|
Loading…
Reference in New Issue
Block a user