From 3c9d08717cd129c1576ea91e5bd4b7b8e0af9885 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 16 Jun 2024 22:37:15 +1000 Subject: fix one silly issue --- src/renderer/backends/opengl/backend_opengl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/renderer/backends/opengl/backend_opengl.h') diff --git a/src/renderer/backends/opengl/backend_opengl.h b/src/renderer/backends/opengl/backend_opengl.h index cde52a3..f52bd79 100644 --- a/src/renderer/backends/opengl/backend_opengl.h +++ b/src/renderer/backends/opengl/backend_opengl.h @@ -38,7 +38,10 @@ typedef struct gpu_buffer { u32 ibo; u32 ubo; } id; - u32 vao; // Optional + union { + u32 vao; + u32 ubo_binding_point + }; // Optional u64 size; } gpu_buffer; typedef struct gpu_texture { -- cgit v1.2.3-70-g09d2