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

[util] Fix COM reference count type

On Windows, ref counts are only 32 bits wide.
This commit is contained in:
Philip Rebohle 2019-05-14 14:48:42 +02:00
parent 26602b296f
commit 54d3103b04
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -58,8 +58,8 @@ namespace dxvk {
private:
std::atomic<ULONG> m_refCount = { 0ul };
std::atomic<ULONG> m_refPrivate = { 0ul };
std::atomic<uint32_t> m_refCount = { 0ul };
std::atomic<uint32_t> m_refPrivate = { 0ul };
};