Commit 40eabc94 authored by Joshua Ashton's avatar Joshua Ashton 🐸

[d3d9] Fix scissor size for partial presents

parent 4907f251
......@@ -491,8 +491,8 @@ namespace dxvk {
VkRect2D scissor;
scissor.offset.x = 0;
scissor.offset.y = 0;
scissor.extent.width = info.imageExtent.width - m_dstRect.left;
scissor.extent.height = info.imageExtent.height - m_dstRect.top;
scissor.extent.width = m_dstRect.right - m_dstRect.left;
scissor.extent.height = m_dstRect.bottom - m_dstRect.top;
m_context->setViewports(1, &viewport, &scissor);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment