1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 20:52:10 +01:00

[d3d11] Fix RSGetViewports and RSGetScissorRects behaviour

Fixes #1116.
This commit is contained in:
Robin Kertels 2019-07-08 05:27:53 +02:00 committed by Philip Rebohle
parent 24e1969dc4
commit 47f7333c18
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -2858,9 +2858,9 @@ namespace dxvk {
pViewports[i].MaxDepth = 0.0f;
}
}
} else {
*pNumViewports = m_state.rs.numViewports;
}
*pNumViewports = m_state.rs.numViewports;
}
@ -2880,9 +2880,9 @@ namespace dxvk {
pRects[i].bottom = 0;
}
}
} else {
*pNumRects = m_state.rs.numScissors;
}
*pNumRects = m_state.rs.numScissors;
}