summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2025-08-22 07:59:47 -0700
committer3gg <3gg@shellblade.net>2025-08-22 07:59:47 -0700
commit4b340ab0db3898b36a7e975690359eef3747284d (patch)
tree943f31cd133b9c815992bef7af072bdc90af7bb7 /src/game.h
parenta82c2bbf3f80697b38706d288deecd100ef95a61 (diff)
Fix issue with global GfxApp instance across pluginsHEADmain
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h2
1 files changed, 2 insertions, 0 deletions
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 @@
6typedef struct PluginEngine PluginEngine; 6typedef struct PluginEngine PluginEngine;
7typedef struct Plugin Plugin; 7typedef struct Plugin Plugin;
8typedef struct Gfx Gfx; 8typedef struct Gfx Gfx;
9typedef struct GfxApp GfxApp;
9typedef struct Scene Scene; 10typedef struct Scene Scene;
10typedef struct SceneCamera SceneCamera; 11typedef struct SceneCamera SceneCamera;
11 12
@@ -15,6 +16,7 @@ typedef struct {
15 const char** argv; 16 const char** argv;
16 PluginEngine* plugin_engine; 17 PluginEngine* plugin_engine;
17 Plugin* plugin; 18 Plugin* plugin;
19 GfxApp* app;
18 Gfx* gfx; 20 Gfx* gfx;
19 int width; 21 int width;
20 int height; 22 int height;