Merge pull request #1346 from kayru/d3d_clip_enable
D3D: Enabled depth clipping
This commit is contained in:
commit
78deebd732
|
@ -262,7 +262,7 @@ ID3D11RasterizerState* StateCache::Get(RasterizerState state)
|
||||||
|
|
||||||
D3D11_RASTERIZER_DESC rastdc = CD3D11_RASTERIZER_DESC(state.wireframe ? D3D11_FILL_WIREFRAME : D3D11_FILL_SOLID,
|
D3D11_RASTERIZER_DESC rastdc = CD3D11_RASTERIZER_DESC(state.wireframe ? D3D11_FILL_WIREFRAME : D3D11_FILL_SOLID,
|
||||||
state.cull_mode,
|
state.cull_mode,
|
||||||
false, 0, 0.f, 0, false, true, false, false);
|
false, 0, 0.f, 0, true, true, false, false);
|
||||||
|
|
||||||
ID3D11RasterizerState* res = nullptr;
|
ID3D11RasterizerState* res = nullptr;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue