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 a5a9140..8b88cf8 100644
--- a/src/renderer/backends/opengl/backend_opengl.h
+++ b/src/renderer/backends/opengl/backend_opengl.h
@@ -24,12 +24,12 @@ typedef struct gpu_pipeline {
gpu_renderpass* renderpass;
vertex_description vertex_desc;
buffer_handle uniform_bindings[MAX_PIPELINE_UNIFORM_BUFFERS];
+ u32 uniform_count;
bool wireframe;
} gpu_pipeline;
typedef struct gpu_renderpass {
u32 fbo;
gpu_renderpass_desc description;
- void *pad;
} gpu_renderpass;
typedef struct gpu_cmd_encoder {
gpu_pipeline *pipeline;
@@ -48,6 +48,7 @@ typedef struct gpu_buffer {
u32 vao;
u32 ubo_binding_point
}; // Optional
+ char* name;
u64 size;
} gpu_buffer;
typedef struct gpu_texture {