From d130c2c7314cf4884f444db16d7717b7356b54ff Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Thu, 8 Feb 2024 07:58:22 -0800 Subject: Add window width and height to game. --- game/src/plugins/plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game/src/plugins/plugin.h') diff --git a/game/src/plugins/plugin.h b/game/src/plugins/plugin.h index a2632cd..f7219c6 100644 --- a/game/src/plugins/plugin.h +++ b/game/src/plugins/plugin.h @@ -41,7 +41,7 @@ void update(Game*, State*, double t, double dt); void render(const Game*, const State*); /// Called when the game's window is resized. -void resize(Game* game, State* state, int width, int height); +void resize(Game*, State*, int width, int height); // Signatures for the plugin's exposed functions. typedef bool (*plugin_init)(Game*, State**); -- cgit v1.2.3