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/texture_view.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'game/src/plugins/texture_view.c') diff --git a/game/src/plugins/texture_view.c b/game/src/plugins/texture_view.c index b424158..31bf23e 100644 --- a/game/src/plugins/texture_view.c +++ b/game/src/plugins/texture_view.c @@ -133,9 +133,6 @@ void resize(Game* game, State* state, int width, int height) { assert(game); assert(state); - RenderBackend* render_backend = gfx_get_render_backend(game->gfx); - gfx_set_viewport(render_backend, width, height); - const R fovy = 90 * TO_RAD; const R aspect = (R)width / (R)height; const R near = 0.1; -- cgit v1.2.3