From 37a9f55ecd39f99aa800adc875555ecd613722c4 Mon Sep 17 00:00:00 2001 From: 0scar Date: Thu, 1 Feb 2024 22:27:06 +0100 Subject: Fixme! --- include/engine/engine.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'include/engine/engine.h') diff --git a/include/engine/engine.h b/include/engine/engine.h index 6943538..4a1b6e3 100644 --- a/include/engine/engine.h +++ b/include/engine/engine.h @@ -52,6 +52,8 @@ typedef struct { usize bindings_sz; usize bindings_len; + struct RenderObject *testobject; + binding_t bindings_global[NUM_GLOBAL_BINDINGS]; } Platform; @@ -85,12 +87,12 @@ void engine_input_ctx_reset(void); #ifdef ENGINE_INTERNALS -#define MAX(a, b) (a > b ? a : b) +#define GLFW_INCLUDE_NONE +#include /* Window */ struct Window { - SDL_Window* window; - SDL_Renderer* renderer; + GLFWwindow* window; f32 render_scale; v2_i32 windowsize; @@ -100,7 +102,6 @@ struct Window { }; typedef struct { - SDL_Texture* texture; const i32 tilesize; const i32 width; const i32 height; @@ -120,7 +121,7 @@ struct Resources { /* Our actual sources */ Texture** textures; - TTF_Font** fonts; + //TTF_Font** fonts; }; #endif -- cgit v1.3