diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index 711d9851..92061419 100644 --- a/src/d3d9/d3d9_device.cpp +++ b/src/d3d9/d3d9_device.cpp @@ -1315,9 +1315,6 @@ namespace dxvk { } // Here, Count of 0 will denote whether or not to care about user rects. - - auto* rt0Desc = m_state.renderTargets[0]->GetCommonTexture()->Desc(); - VkClearValue clearValueDepth; clearValueDepth.depthStencil.depth = Z; clearValueDepth.depthStencil.stencil = Stencil;