From 79fcaa9fba63d4d512551a151af7c7931c4ff941 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Thu, 9 Jan 2020 17:09:31 +0100 Subject: [PATCH] [d3d9] Remove unused variable from D3D9DeviceEx::Clear Fixes a compiler warning. --- src/d3d9/d3d9_device.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index 711d98512..920614195 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;