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

[com] ... yeah, almost.

This commit is contained in:
Philip Rebohle 2017-12-09 23:20:31 +01:00
parent fa1ef8248e
commit 3d6e88428a

View File

@ -29,7 +29,7 @@ namespace dxvk {
ULONG Release() { ULONG Release() {
ULONG refCount = --m_refCount; ULONG refCount = --m_refCount;
if (refCount == 0) { if (refCount == 0) {
refCount += 0x80000000u; m_refCount += 0x80000000u;
delete this; delete this;
} }
return refCount; return refCount;