From eca4a144e1814b76ffe8180481d9938cc58da3c5 Mon Sep 17 00:00:00 2001 From: Greg Wells Date: Sat, 19 Jul 2025 07:09:26 -0400 Subject: [PATCH] stop auto resizing command buffers array list --- .../core/src/command/command_buffer/gryphn_command_buffer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/core/src/command/command_buffer/gryphn_command_buffer.c b/projects/core/src/command/command_buffer/gryphn_command_buffer.c index 70c8a9e..adda95d 100644 --- a/projects/core/src/command/command_buffer/gryphn_command_buffer.c +++ b/projects/core/src/command/command_buffer/gryphn_command_buffer.c @@ -12,9 +12,9 @@ gnReturnCode gnCommandPoolAllocateCommandBuffersFromPointer(gnCommandBufferHandl } gnReturnCode gnCommandPoolAllocateCommandBuffersFromList(gnCommandBufferArrayList buffers, uint32_t count, gnCommandPoolHandle commandPool) { - if (buffers.count < count) { - gnCommandBufferArrayListExpand(&buffers, buffers.count - count); - } + // if (buffers.count < count) { + // gnCommandBufferArrayListExpand(&buffers, buffers.count - count); + // } for (int i = 0; i < count; i++) { buffers.data[i] = malloc(sizeof(struct gnCommandBuffer_t));