diff -r bfd15f5a3948 -r b47de42f4598 src/scene.c --- a/src/scene.c Sat Aug 09 14:36:39 2025 +0200 +++ b/src/scene.c Tue Aug 12 21:04:59 2025 +0200 @@ -120,20 +120,6 @@ void asc_scene_draw(AscScene *scene) { if (scene->root == NULL) return; - // if the window resized, we must update the viewport - if (asc_active_window->resized) { - asc_vec2u window_size = asc_active_window->dimensions; - if (scene->camera.viewport_update_func == NULL) { - // this assumes the viewport was initialized with zeros! - scene->camera.viewport.size = window_size; - } else { - scene->camera.viewport = scene->camera.viewport_update_func(window_size); - } - if (scene->camera.projection_update_func != NULL) { - scene->camera.projection_update_func(&scene->camera, window_size); - } - } - // when the viewport is zero, exit immediately if (scene->camera.viewport.size.width == 0 || scene->camera.viewport.size.height == 0) { return;