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:
parent
24e1969dc4
commit
47f7333c18
@ -2858,9 +2858,9 @@ namespace dxvk {
|
|||||||
pViewports[i].MaxDepth = 0.0f;
|
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;
|
pRects[i].bottom = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
*pNumRects = m_state.rs.numScissors;
|
||||||
}
|
}
|
||||||
|
|
||||||
*pNumRects = m_state.rs.numScissors;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user