File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ Documentation of all members: D3D12MemAlloc.h
85
85
86
86
#ifndef D3D12MA_DXGI_1_4
87
87
#ifdef __IDXGIAdapter3_INTERFACE_DEFINED__
88
- // / Define this macro to 0 to disable usage of DXGI 1.4 (which is used for IDXGIAdapter3 and query for memory budget).
88
+ // / Define this macro to 0 to disable usage of DXGI 1.4 (which is used for ` IDXGIAdapter3` and query for memory budget).
89
89
#define D3D12MA_DXGI_1_4 1
90
90
#else
91
91
#define D3D12MA_DXGI_1_4 0
@@ -94,6 +94,7 @@ Documentation of all members: D3D12MemAlloc.h
94
94
95
95
#ifndef D3D12MA_CREATE_NOT_ZEROED_AVAILABLE
96
96
#ifdef __ID3D12Device8_INTERFACE_DEFINED__
97
+ // / This macro is defined to 0 or 1 automatically. Define it to 0 to disable support for `D3D12_HEAP_FLAG_CREATE_NOT_ZEROED`.
97
98
#define D3D12MA_CREATE_NOT_ZEROED_AVAILABLE 1
98
99
#else
99
100
#define D3D12MA_CREATE_NOT_ZEROED_AVAILABLE 0
@@ -128,9 +129,9 @@ Documentation of all members: D3D12MemAlloc.h
128
129
129
130
#ifndef D3D12MA_RECOMMENDED_HEAP_FLAGS
130
131
#if D3D12MA_CREATE_NOT_ZEROED_AVAILABLE
131
- // / Set of flags recommended for use in D3D12MA::POOL_DESC::HeapFlags for optimal performance.
132
132
#define D3D12MA_RECOMMENDED_HEAP_FLAGS (D3D12_HEAP_FLAG_CREATE_NOT_ZEROED)
133
133
#else
134
+ // / Set of flags recommended for use in D3D12MA::POOL_DESC::HeapFlags for optimal performance.
134
135
#define D3D12MA_RECOMMENDED_HEAP_FLAGS (D3D12_HEAP_FLAG_NONE)
135
136
#endif
136
137
#endif
You can’t perform that action at this time.
0 commit comments