| 182 | } |
| 183 | |
| 184 | static void* Malloc(const ALLOCATION_CALLBACKS& allocs, size_t size, size_t alignment) |
| 185 | { |
| 186 | void* const result = (*allocs.pAllocate)(size, alignment, allocs.pPrivateData); |
| 187 | D3D12MA_ASSERT(result); |
| 188 | return result; |
| 189 | } |
| 190 | static void Free(const ALLOCATION_CALLBACKS& allocs, void* memory) |
| 191 | { |
| 192 | (*allocs.pFree)(memory, allocs.pPrivateData); |
no outgoing calls
no test coverage detected