summaryrefslogtreecommitdiff
path: root/src/renderer/backends/opengl/backend_opengl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/backends/opengl/backend_opengl.h')
-rw-r--r--src/renderer/backends/opengl/backend_opengl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/renderer/backends/opengl/backend_opengl.h b/src/renderer/backends/opengl/backend_opengl.h
index 14a46f9..876cfe4 100644
--- a/src/renderer/backends/opengl/backend_opengl.h
+++ b/src/renderer/backends/opengl/backend_opengl.h
@@ -32,7 +32,8 @@ typedef struct gpu_buffer {
u32 vbo;
u32 ibo;
} id;
- u32 pad;
+ u32 vao; // Optional
+ u64 size;
} gpu_buffer;
typedef struct gpu_texture {
void *pad