Fix for "potentially uninitialized variable" warning
This commit is contained in:
parent
a195308982
commit
a4dbfffa11
1 changed files with 1 additions and 1 deletions
|
@ -14525,7 +14525,7 @@ VkResult VmaAllocator_T::AllocateDedicatedMemory(
|
|||
#endif // #if VMA_DEDICATED_ALLOCATION
|
||||
|
||||
size_t allocIndex;
|
||||
VkResult res;
|
||||
VkResult res = VK_SUCCESS;
|
||||
for(allocIndex = 0; allocIndex < allocationCount; ++allocIndex)
|
||||
{
|
||||
res = AllocateDedicatedMemoryPage(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue