From f8641a5cc4c8baf1f0a7be3685afc219d90143d9 Mon Sep 17 00:00:00 2001 From: omnisci3nce Date: Wed, 17 Jul 2024 14:45:31 +1000 Subject: whole thing is compiling and running again --- src/new_render/render.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/new_render/render.h') diff --git a/src/new_render/render.h b/src/new_render/render.h index 6e9f380..fa05fec 100644 --- a/src/new_render/render.h +++ b/src/new_render/render.h @@ -9,6 +9,7 @@ #include "render_types.h" typedef struct Renderer Renderer; +typedef struct GLFWwindow GLFWwindow; typedef struct RendererConfig { char window_name[256]; u32 scr_width, scr_height; @@ -22,7 +23,7 @@ typedef struct RenderCtx { // --- Lifecycle -PUB bool Renderer_Init(RendererConfig config, Renderer* renderer); +PUB bool Renderer_Init(RendererConfig config, Renderer* renderer, GLFWwindow** out_window); PUB void Renderer_Shutdown(Renderer* renderer); PUB size_t Renderer_GetMemReqs(); -- cgit v1.2.3-70-g09d2