From 08ff9cd0e2b754caf60aaceedf670b9e6b61d664 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Fri, 1 Sep 2023 14:07:36 -0400 Subject: bucket cleanup --- src/window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/window.cpp') diff --git a/src/window.cpp b/src/window.cpp index 8293c81..54ebbf1 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -1001,9 +1001,9 @@ void RecordCommandBuffer(VkCommandBuffer commandBuffer, uint32_t imageIndex) { const uint64_t bindBucketCount = ECS_GetGrBinds_BucketCount(); for (long b = 0; b < bindBucketCount; ++b) { uint64_t itemCount; - CompGrBinds *items = ECS_GetGrBinds(b, itemCount); + GrBindsComp *items = ECS_GetGrBinds(b, itemCount); for (long i = 0; i < itemCount; ++i) { - CompGrBinds *binder = &items[i]; + GrBindsComp *binder = &items[i]; vkCmdBindDescriptorSets(commandBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, binder->vkPipelineLayout, 0U, 1U, &binder->vkDescriptorSet, 0, {}); vkCmdBindVertexBuffers(commandBuffer, binder->indexFirstBinding, binder->vertexCount, &binder->vertexBuffer, &binder->vertexOffsets); vkCmdBindIndexBuffer(commandBuffer, binder->indexBuffer, binder->vertexOffsets, VK_INDEX_TYPE_UINT16); -- cgit v1.2.3