From ef99b800e094231ee5feea962b8e5f90e47a9505 Mon Sep 17 00:00:00 2001 From: Onek8 Date: Thu, 14 Aug 2025 20:27:20 +0000 Subject: [PATCH] Update leenkx/Sources/iron/App.hx --- leenkx/Sources/iron/App.hx | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/leenkx/Sources/iron/App.hx b/leenkx/Sources/iron/App.hx index eb43845..3d6bd78 100644 --- a/leenkx/Sources/iron/App.hx +++ b/leenkx/Sources/iron/App.hx @@ -55,7 +55,6 @@ class App { iron.system.Time.update(); - if (lastw == -1) { lastw = App.w(); lasth = App.h(); @@ -115,22 +114,6 @@ class App { for (cb in endFrameCallbacks) cb(); updateTime = kha.Scheduler.realTime() - startTime; #end - - // Rebuild projection on window resize - if (lastw == -1) { - lastw = App.w(); - lasth = App.h(); - } - if (lastw != App.w() || lasth != App.h()) { - if (onResize != null) onResize(); - else { - if (Scene.active != null && Scene.active.camera != null) { - Scene.active.camera.buildProjection(); - } - } - } - lastw = App.w(); - lasth = App.h(); } static function render(frames: Array) {