From 4b340ab0db3898b36a7e975690359eef3747284d Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Fri, 22 Aug 2025 07:59:47 -0700 Subject: Fix issue with global GfxApp instance across plugins --- src/game.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game.h') diff --git a/src/game.h b/src/game.h index 579ba3c..4589496 100644 --- a/src/game.h +++ b/src/game.h @@ -6,6 +6,7 @@ typedef struct PluginEngine PluginEngine; typedef struct Plugin Plugin; typedef struct Gfx Gfx; +typedef struct GfxApp GfxApp; typedef struct Scene Scene; typedef struct SceneCamera SceneCamera; @@ -15,6 +16,7 @@ typedef struct { const char** argv; PluginEngine* plugin_engine; Plugin* plugin; + GfxApp* app; Gfx* gfx; int width; int height; -- cgit v1.2.3