mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 19:54:19 +01:00
[d3d9] Fix scissor rect size when presenting
This commit is contained in:
parent
1592e2770b
commit
b6e1da916a
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user