Skip to content

Commit f4c72f3

Browse files
committed
default memoryType/Heap Count
1 parent 6cda627 commit f4c72f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/nbl/video/IPhysicalDevice.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ class IPhysicalDevice : public core::Interface, public core::Unmovable
162162

163163
struct SMemoryProperties
164164
{
165-
uint32_t memoryTypeCount;
165+
uint32_t memoryTypeCount = 0u;
166166
VkMemoryType memoryTypes[VK_MAX_MEMORY_TYPES];
167-
uint32_t memoryHeapCount;
167+
uint32_t memoryHeapCount = 0u;
168168
VkMemoryHeap memoryHeaps[VK_MAX_MEMORY_HEAPS];
169169
};
170170

0 commit comments

Comments
 (0)