mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
[d3d11] Fix GetPredication
This commit is contained in:
parent
b6cf518962
commit
53fe3423e2
@ -326,10 +326,10 @@ namespace dxvk {
|
|||||||
BOOL* pPredicateValue) {
|
BOOL* pPredicateValue) {
|
||||||
D3D10DeviceLock lock = LockContext();
|
D3D10DeviceLock lock = LockContext();
|
||||||
|
|
||||||
if (ppPredicate != nullptr)
|
if (ppPredicate)
|
||||||
D3D11Query::AsPredicate(m_state.pr.predicateObject.ref());
|
*ppPredicate = D3D11Query::AsPredicate(m_state.pr.predicateObject.ref());
|
||||||
|
|
||||||
if (pPredicateValue != nullptr)
|
if (pPredicateValue)
|
||||||
*pPredicateValue = m_state.pr.predicateValue;
|
*pPredicateValue = m_state.pr.predicateValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user