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:
parent
b6cf518962
commit
53fe3423e2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user