diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-06-16 22:37:15 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-06-16 22:37:15 +1000 |
commit | 3c9d08717cd129c1576ea91e5bd4b7b8e0af9885 (patch) | |
tree | 3edc5e5013c64f41be7b96c96175d26adbf6e0c8 /src/renderer/backends/opengl/backend_opengl.h | |
parent | 60d1e086242940993432a40a934241dc40b7382c (diff) |
fix one silly issue
Diffstat (limited to 'src/renderer/backends/opengl/backend_opengl.h')
-rw-r--r-- | src/renderer/backends/opengl/backend_opengl.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 { |