diff options
author | Omniscient <omniscient.oce@gmail.com> | 2024-06-07 12:37:52 +1000 |
---|---|---|
committer | Omniscient <omniscient.oce@gmail.com> | 2024-06-07 12:37:52 +1000 |
commit | 037cb840dfb90264cd1bef36736cefb3cf7f2dd9 (patch) | |
tree | 2e688d3a113bf3bf763e63813dfc00e6ca98c898 /src/renderer/backends/opengl/backend_opengl.h | |
parent | 4cbb8a9ec77620e6d3c0e4063b249e9cd8df46af (diff) |
upload data when available on buffer creation
Diffstat (limited to 'src/renderer/backends/opengl/backend_opengl.h')
-rw-r--r-- | src/renderer/backends/opengl/backend_opengl.h | 3 |
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 |