From 0a78a9d9c1ac2090da56f395d6f2394a8a210010 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 31 Aug 2024 18:40:28 -0700 Subject: More viewport control. --- game/src/game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game') diff --git a/game/src/game.c b/game/src/game.c index 10c69aa..dc2248b 100644 --- a/game/src/game.c +++ b/game/src/game.c @@ -215,7 +215,7 @@ static void Resize(Game* game, int width, int height) { game->height = height; GfxCore* gfxcore = gfx_get_core(game->gfx); - gfx_set_viewport(gfxcore, width, height); + gfx_set_viewport(gfxcore, 0, 0, width, height); resize_plugin(game, width, height); } -- cgit v1.2.3