diff --git a/UI/GPUDriverTestScreen.cpp b/UI/GPUDriverTestScreen.cpp index 1a737b0325..bd9f0aa7ab 100644 --- a/UI/GPUDriverTestScreen.cpp +++ b/UI/GPUDriverTestScreen.cpp @@ -128,6 +128,7 @@ void GPUDriverTestScreen::DiscardTest() { // Write only stencil. dsDesc.stencilEnabled = true; dsDesc.depthTestEnabled = false; + dsDesc.depthWriteEnabled = false; // Just in case the driver is crazy. when test is enabled, though, this should be ignored. DepthStencilState *stencilWrite = draw->CreateDepthStencilState(dsDesc); // Now for the shaders that read depth and/or stencil.