more error hunting

This commit is contained in:
Gregory Wells
2025-08-03 15:08:01 -04:00
parent 590365c4a6
commit 5f298554fd
19 changed files with 61 additions and 48 deletions

View File

@@ -3,12 +3,12 @@
#include "core/gryphn_return_code.h"
#include "gryphn_handles.h"
#include <core/src/buffers/gryphn_buffer.h>
typedef struct gnRenderPassInfo gnRenderPassInfo;
typedef struct gnViewport gnViewport;
typedef struct gnScissor gnScissor;
typedef struct gnPushConstantLayout gnPushConstantLayout;
typedef enum gnBufferType gnBufferType;
typedef enum gnIndexType gnIndexType;
typedef struct gnCommandFunctions_t {
gnReturnCode (*_gnCommandPoolAllocateCommandBuffers)(gnCommandBufferHandle* commandBuffers, uint32_t count, gnCommandPoolHandle pool);

View File

@@ -175,3 +175,6 @@ loaderLayer* loaderGetNextLayer(gnInstance instance) {
void resetLayer(gnInstance instance) {
instance->currentLayer = (instance->layers.count - 1);
}
GN_ARRAY_LIST_DEFINITION(loaderLayer)

View File

@@ -38,7 +38,7 @@ typedef struct loaderLayer {
} loaderLayer;
loaderLayer loadLayer(loaderInfo info);
GN_ARRAY_LIST(loaderLayer);
GN_ARRAY_LIST_HEADER(loaderLayer);
loaderLayer* loaderGetNextLayer(gnInstance instance);
void resetLayer(gnInstance instance);