summaryrefslogtreecommitdiff
path: root/game/src/plugins/texture_view.c
diff options
context:
space:
mode:
Diffstat (limited to 'game/src/plugins/texture_view.c')
-rw-r--r--game/src/plugins/texture_view.c3
1 files changed, 0 insertions, 3 deletions
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) {
133 assert(game); 133 assert(game);
134 assert(state); 134 assert(state);
135 135
136 RenderBackend* render_backend = gfx_get_render_backend(game->gfx);
137 gfx_set_viewport(render_backend, width, height);
138
139 const R fovy = 90 * TO_RAD; 136 const R fovy = 90 * TO_RAD;
140 const R aspect = (R)width / (R)height; 137 const R aspect = (R)width / (R)height;
141 const R near = 0.1; 138 const R near = 0.1;