mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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