From ed0a834ee2d648c94d5ab8697278ec841ec674aa Mon Sep 17 00:00:00 2001 From: DaniTheSkunk <> Date: Wed, 21 Dec 2022 06:26:51 +0000 Subject: [PATCH] fixed forward decleration --- include/window.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/window.h b/include/window.h index b72fe5f..bc4837b 100644 --- a/include/window.h +++ b/include/window.h @@ -3,12 +3,12 @@ #include "vec2i.h" -typedef struct GLFWwindow GLFWwindow; +struct GLFWwindow; struct window { struct vec2i size; - GLFWwindow *_window; + struct GLFWwindow *_window; }; struct window *sw_window_create(struct vec2i size, char *title);