diff options
author | Omni <omniscient.oce@gmail.com> | 2024-06-22 16:27:42 +1000 |
---|---|---|
committer | Omni <omniscient.oce@gmail.com> | 2024-06-22 16:27:42 +1000 |
commit | 434d7387fe0dda917d3a9f1df7f1c5fd113d6188 (patch) | |
tree | b1817f7b7aed3587ca0851960f20e106083fc90d /src/renderer/backends/opengl/backend_opengl.h | |
parent | a40a52ab3c827ff08f502f8163358d0faacf9b13 (diff) |
fix compilation. shadows still WIP
Diffstat (limited to 'src/renderer/backends/opengl/backend_opengl.h')
-rw-r--r-- | src/renderer/backends/opengl/backend_opengl.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/renderer/backends/opengl/backend_opengl.h b/src/renderer/backends/opengl/backend_opengl.h index f588643..9cfbb06 100644 --- a/src/renderer/backends/opengl/backend_opengl.h +++ b/src/renderer/backends/opengl/backend_opengl.h @@ -4,6 +4,7 @@ #include "defines.h" #include "maths_types.h" +#include "ral.h" #include "ral_types.h" #define MAX_PIPELINE_UNIFORM_BUFFERS 32 @@ -27,13 +28,13 @@ typedef struct gpu_pipeline { typedef struct gpu_renderpass { u32 fbo; gpu_renderpass_desc description; - void *pad + void *pad; } gpu_renderpass; typedef struct gpu_cmd_encoder { gpu_pipeline *pipeline; } gpu_cmd_encoder; // Recording typedef struct gpu_cmd_buffer { - void *pad + void *pad; } gpu_cmd_buffer; // Ready for submission typedef struct gpu_buffer { @@ -50,7 +51,7 @@ typedef struct gpu_buffer { } gpu_buffer; typedef struct gpu_texture { u32 id; - void *pad + void* pad; } gpu_texture; typedef struct opengl_support { |