mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-10 10:41:52 +00:00
Robustify VmaStat
Currently, VmaStat is not defined as typedef. With GCC, this is not compiling.
This commit is contained in:
parent
6ab1604070
commit
231ea193fb
@ -585,12 +585,12 @@ typedef struct VmaStatInfo
|
||||
} VmaStatInfo;
|
||||
|
||||
/// General statistics from current state of Allocator.
|
||||
struct VmaStats
|
||||
typedef struct VmaStats
|
||||
{
|
||||
VmaStatInfo memoryType[VK_MAX_MEMORY_TYPES];
|
||||
VmaStatInfo memoryHeap[VK_MAX_MEMORY_HEAPS];
|
||||
VmaStatInfo total;
|
||||
};
|
||||
} VmaStats;
|
||||
|
||||
/// Retrieves statistics from current state of the Allocator.
|
||||
void vmaCalculateStats(
|
||||
|
Loading…
Reference in New Issue
Block a user