From 434d7387fe0dda917d3a9f1df7f1c5fd113d6188 Mon Sep 17 00:00:00 2001 From: Omni Date: Sat, 22 Jun 2024 16:27:42 +1000 Subject: fix compilation. shadows still WIP --- src/renderer/backends/opengl/backend_opengl.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/renderer/backends/opengl/backend_opengl.h') 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 { -- cgit v1.2.3-70-g09d2