diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-27 14:01:16 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-27 14:01:16 +1000 |
commit | aa0fe8457cfff9c47c0c9fa4a1c86a79c7cbf9c5 (patch) | |
tree | a7fa374cb59c6c59e386086dcdae8a7efc372b5f /src/ral/backends | |
parent | 2e2c57a8c04575eec164279a49947cfdba250853 (diff) |
add a pool insert function. move RenderEnt to use handles
Diffstat (limited to 'src/ral/backends')
-rw-r--r-- | src/ral/backends/opengl/backend_opengl.c | 3 | ||||
-rw-r--r-- | src/ral/backends/opengl/backend_opengl.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/ral/backends/opengl/backend_opengl.c b/src/ral/backends/opengl/backend_opengl.c index 7929a16..305ab36 100644 --- a/src/ral/backends/opengl/backend_opengl.c +++ b/src/ral/backends/opengl/backend_opengl.c @@ -57,7 +57,8 @@ bool GPU_Backend_Init(const char* window_name, struct GLFWwindow* window, } // All of these are no-ops in OpenGL -void GPU_Backend_Shutdown() { /* TODO */ } +void GPU_Backend_Shutdown() { /* TODO */ +} bool GPU_Device_Create(GPU_Device* out_device) { return true; } void GPU_Device_Destroy(GPU_Device* device) {} bool GPU_Swapchain_Create(GPU_Swapchain* out_swapchain) { return true; } diff --git a/src/ral/backends/opengl/backend_opengl.h b/src/ral/backends/opengl/backend_opengl.h index b27d782..3e40945 100644 --- a/src/ral/backends/opengl/backend_opengl.h +++ b/src/ral/backends/opengl/backend_opengl.h @@ -53,7 +53,7 @@ typedef struct GPU_Buffer { } id; union { u32 vao; - u32 ubo_binding_point + u32 ubo_binding_point; }; // Optional char *name; u64 size; |