From b6e1da916a2228eef9609f83750cfc6710f4bfac Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Thu, 27 Feb 2020 22:53:14 +0000 Subject: [PATCH] [d3d9] Fix scissor rect size when presenting --- src/d3d9/d3d9_swapchain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d3d9/d3d9_swapchain.cpp b/src/d3d9/d3d9_swapchain.cpp index 952c5d2c3..d69fc50b9 100644 --- a/src/d3d9/d3d9_swapchain.cpp +++ b/src/d3d9/d3d9_swapchain.cpp @@ -696,8 +696,8 @@ namespace dxvk { viewport.maxDepth = 1.0f; VkRect2D scissor; - scissor.offset.x = 0; - scissor.offset.y = 0; + scissor.offset.x = m_dstRect.left; + scissor.offset.y = m_dstRect.top; scissor.extent.width = m_dstRect.right - m_dstRect.left; scissor.extent.height = m_dstRect.bottom - m_dstRect.top;