summaryrefslogtreecommitdiff
path: root/src/ral/backends/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ral/backends/opengl')
-rw-r--r--src/ral/backends/opengl/backend_opengl.c3
-rw-r--r--src/ral/backends/opengl/backend_opengl.h2
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;