mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
D3DState: Remove wireframe rasterizer support.
This commit is contained in:
parent
925bbcb85b
commit
c9e469f832
@ -407,7 +407,7 @@ ID3D11RasterizerState* StateCache::Get(RasterizerState state)
|
||||
if (it != m_raster.end())
|
||||
return it->second;
|
||||
|
||||
D3D11_RASTERIZER_DESC rastdc = CD3D11_RASTERIZER_DESC(state.wireframe ? D3D11_FILL_WIREFRAME : D3D11_FILL_SOLID,
|
||||
D3D11_RASTERIZER_DESC rastdc = CD3D11_RASTERIZER_DESC(D3D11_FILL_SOLID,
|
||||
state.cull_mode,
|
||||
false, 0, 0.f, 0, true, true, false, false);
|
||||
|
||||
|
@ -22,7 +22,6 @@ namespace DX11
|
||||
union RasterizerState
|
||||
{
|
||||
BitField<0, 2, D3D11_CULL_MODE> cull_mode;
|
||||
BitField<2, 1, u32> wireframe;
|
||||
|
||||
u32 packed;
|
||||
};
|
||||
|
@ -255,7 +255,6 @@ Renderer::Renderer(void *&window_handle)
|
||||
gx_state.zmode.func = ZMode::NEVER;
|
||||
|
||||
gx_state.raster.cull_mode = D3D11_CULL_NONE;
|
||||
gx_state.raster.wireframe = false;
|
||||
|
||||
// Clear EFB textures
|
||||
float ClearColor[4] = { 0.f, 0.f, 0.f, 1.f };
|
||||
|
Loading…
x
Reference in New Issue
Block a user