mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
[util] Add GetPrivateRefCount helper
This commit is contained in:
parent
9280818a57
commit
511ed27733
@ -68,6 +68,10 @@ namespace dxvk {
|
||||
}
|
||||
}
|
||||
|
||||
ULONG GetPrivateRefCount() {
|
||||
return m_refPrivate.load();
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
std::atomic<uint32_t> m_refCount = { 0ul };
|
||||
|
Loading…
x
Reference in New Issue
Block a user