diff options
author | 3gg <3gg@shellblade.net> | 2024-08-31 18:40:28 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2024-08-31 18:40:28 -0700 |
commit | 0a78a9d9c1ac2090da56f395d6f2394a8a210010 (patch) | |
tree | 81515eea1852dcff74038dd7024131ee8b0a84b6 /game/src/game.c | |
parent | cb9b2c2fe7b77b0b8a3826ad2846655133683dfe (diff) |
More viewport control.
Diffstat (limited to 'game/src/game.c')
-rw-r--r-- | game/src/game.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
215 | game->height = height; | 215 | game->height = height; |
216 | 216 | ||
217 | GfxCore* gfxcore = gfx_get_core(game->gfx); | 217 | GfxCore* gfxcore = gfx_get_core(game->gfx); |
218 | gfx_set_viewport(gfxcore, width, height); | 218 | gfx_set_viewport(gfxcore, 0, 0, width, height); |
219 | 219 | ||
220 | resize_plugin(game, width, height); | 220 | resize_plugin(game, width, height); |
221 | } | 221 | } |