1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-04 16:24:29 +01:00

[util] Filter out internal private ref on object destruction

Closes #3531 for real this time.
This commit is contained in:
Philip Rebohle 2023-06-24 12:45:38 +02:00
parent a7278cdab1
commit 987df8a487

View File

@ -73,7 +73,7 @@ namespace dxvk {
}
bool HasLiveReferences() const {
return bool(m_refCount.load() | m_refPrivate.load());
return bool(m_refCount.load() | (m_refPrivate.load() & 0x7FFFFFFF));
}
protected: