1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-29 19:24:10 +01:00

[d3d11] Fix GetPredication

This commit is contained in:
Philip Rebohle 2019-09-25 20:55:43 +02:00
parent b6cf518962
commit 53fe3423e2
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -326,10 +326,10 @@ namespace dxvk {
BOOL* pPredicateValue) {
D3D10DeviceLock lock = LockContext();
if (ppPredicate != nullptr)
D3D11Query::AsPredicate(m_state.pr.predicateObject.ref());
if (ppPredicate)
*ppPredicate = D3D11Query::AsPredicate(m_state.pr.predicateObject.ref());
if (pPredicateValue != nullptr)
if (pPredicateValue)
*pPredicateValue = m_state.pr.predicateValue;
}