D3D11: Specify DepthClipEnable = TRUE when creating rasterizer states, required on D3D11_level_9. Fixes the Pursuit Force glitch in #9361

This commit is contained in:
Henrik Rydgard 2017-03-05 02:27:45 +01:00
parent e9f2f82863
commit 480a05d845

View File

@ -430,6 +430,7 @@ void DrawEngineD3D11::ApplyDrawState(int prim) {
desc.FillMode = D3D11_FILL_SOLID;
desc.ScissorEnable = TRUE;
desc.FrontCounterClockwise = TRUE;
desc.DepthClipEnable = TRUE;
device_->CreateRasterizerState(&desc, &rs);
rasterCache_.insert(std::pair<uint32_t, ID3D11RasterizerState *>(keys_.raster.value, rs));
} else {