File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ class D3D12MA_API IUnknownImpl : public IUnknown
145145protected:
146146 virtual void ReleaseThis () { delete this ; }
147147private:
148- D3D12MA_ATOMIC_UINT32 m_RefCount = 1 ;
148+ D3D12MA_ATOMIC_UINT32 m_RefCount = { 1 } ;
149149};
150150} // namespace D3D12MA
151151
Original file line number Diff line number Diff line change @@ -6120,7 +6120,7 @@ class CurrentBudgetData
61206120 D3D12MA_ATOMIC_UINT64 m_BlockBytes[DXGI_MEMORY_SEGMENT_GROUP_COUNT] = {};
61216121 D3D12MA_ATOMIC_UINT64 m_AllocationBytes[DXGI_MEMORY_SEGMENT_GROUP_COUNT] = {};
61226122
6123- D3D12MA_ATOMIC_UINT32 m_OperationsSinceBudgetFetch = 0 ;
6123+ D3D12MA_ATOMIC_UINT32 m_OperationsSinceBudgetFetch = { 0 } ;
61246124 D3D12MA_RW_MUTEX m_BudgetMutex;
61256125 UINT64 m_D3D12Usage[DXGI_MEMORY_SEGMENT_GROUP_COUNT] = {};
61266126 UINT64 m_D3D12Budget[DXGI_MEMORY_SEGMENT_GROUP_COUNT] = {};
@@ -6355,7 +6355,7 @@ class AllocatorPimpl
63556355 friend class Allocator ;
63566356 friend class Pool ;
63576357public:
6358- std::atomic_uint32_t m_RefCount = 1 ;
6358+ std::atomic_uint32_t m_RefCount = { 1 } ;
63596359 CurrentBudgetData m_Budget;
63606360
63616361 AllocatorPimpl (const ALLOCATION_CALLBACKS& allocationCallbacks, const ALLOCATOR_DESC& desc);
You can’t perform that action at this time.
0 commit comments