[d3d9] Fix scissor rect size when presenting

This commit is contained in:
Joshua Ashton 2020-02-27 22:53:14 +00:00
parent 1592e2770b
commit b6e1da916a
1 changed files with 2 additions and 2 deletions

View File

@ -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;