Update main.cpp
This commit is contained in:
parent
646844a945
commit
4f8175506a
1 changed files with 0 additions and 1 deletions
|
|
@ -403,7 +403,6 @@ public:
|
|||
}
|
||||
|
||||
// Index buffer
|
||||
VkDeviceSize indexSize = imDrawData->TotalIdxCount * sizeof(ImDrawIdx);
|
||||
if ((indexBuffer.buffer == VK_NULL_HANDLE) || (indexCount < imDrawData->TotalIdxCount)) {
|
||||
indexBuffer.unmap();
|
||||
indexBuffer.destroy();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue