Index buffer support to allow for reusing of the same vertices. Next commits will be refactors and documentation, graphs and flows of execution

This commit is contained in:
2024-10-10 02:26:13 -05:00
parent 7e625a3db5
commit edfbddea55
8 changed files with 131 additions and 39 deletions

View File

@@ -144,8 +144,8 @@ namespace RenderPresent {
}
void render::destroyFenceSemaphores() {
for (size_t i = 0; i < Global::MAX_FRAMES_IN_FLIGHT; i++) {
vkDestroySemaphore(Global::device, imageAvailableSemaphores[i], nullptr);
vkDestroySemaphore(Global::device, renderFinishedSemaphores[i], nullptr);
vkDestroySemaphore(Global::device, imageAvailableSemaphores[i], nullptr);
vkDestroyFence(Global::device, inFlightFences[i], nullptr);
}
}