From 480a05d845854ef7eb9e99cbeca16f7566f46280 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Sun, 5 Mar 2017 02:27:45 +0100 Subject: [PATCH] D3D11: Specify DepthClipEnable = TRUE when creating rasterizer states, required on D3D11_level_9. Fixes the Pursuit Force glitch in #9361 --- GPU/D3D11/StateMappingD3D11.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/GPU/D3D11/StateMappingD3D11.cpp b/GPU/D3D11/StateMappingD3D11.cpp index 840b86817..3a79a3bcd 100644 --- a/GPU/D3D11/StateMappingD3D11.cpp +++ b/GPU/D3D11/StateMappingD3D11.cpp @@ -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(keys_.raster.value, rs)); } else {