summaryrefslogtreecommitdiff
path: root/src/renderer/render_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/render_backend.h')
-rw-r--r--src/renderer/render_backend.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/renderer/render_backend.h b/src/renderer/render_backend.h
index 69d14d8..ea84b27 100644
--- a/src/renderer/render_backend.h
+++ b/src/renderer/render_backend.h
@@ -3,6 +3,7 @@
*/
#pragma once
+#include "camera.h"
#include "maths_types.h"
#include "render_types.h"
@@ -12,8 +13,9 @@
bool gfx_backend_init(renderer* ren);
void gfx_backend_shutdown(renderer* ren);
-void gfx_backend_draw_frame(renderer* ren);
-void gfx_backend_update_global_state(mat4 projection, mat4 view, vec3 view_pos, vec4 ambient_colour, i32 mode);
+void gfx_backend_draw_frame(renderer* ren, camera* camera, mat4 model);
+void gfx_backend_update_global_state(mat4 projection, mat4 view, vec3 view_pos, vec4 ambient_colour,
+ i32 mode);
void clear_screen(vec3 colour);