initialize findResult
parent
223a9d6593
commit
7b10e7cc9f
|
@ -2524,7 +2524,7 @@ static uint8_t VULKAN_INTERNAL_FindAvailableBufferMemory(
|
|||
VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR,
|
||||
&dedicatedRequirements
|
||||
};
|
||||
uint8_t findResult;
|
||||
uint8_t findResult = 0;
|
||||
|
||||
while (VULKAN_INTERNAL_FindBufferMemoryRequirements(
|
||||
renderer,
|
||||
|
@ -2543,6 +2543,7 @@ static uint8_t VULKAN_INTERNAL_FindAvailableBufferMemory(
|
|||
pOffset,
|
||||
pSize
|
||||
);
|
||||
|
||||
if (findResult == 1)
|
||||
{
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue