From affaec48d612850c4adda542e19a0571e6726060 Mon Sep 17 00:00:00 2001 From: Vortex <73261680+Vortex2Oblivion@users.noreply.github.com> Date: Tue, 10 Dec 2024 19:28:50 -0500 Subject: [PATCH] stop throwing errors on shader compile errors --- source/Main.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/Main.hx b/source/Main.hx index 576120ba2d..be7d7d04da 100644 --- a/source/Main.hx +++ b/source/Main.hx @@ -14,6 +14,7 @@ import openfl.errors.Error; import openfl.events.ErrorEvent; import openfl.events.UncaughtErrorEvent; import openfl.text.TextFormat; +import openfl.utils._internal.Log as OpenFLLog; import states.TitleState; import ui.SimpleInfoDisplay; import ui.logs.Logs; @@ -41,6 +42,7 @@ class Main extends Sprite { CoolUtil.haxe_trace = Log.trace; Log.trace = CoolUtil.haxe_print; + OpenFLLog.throwErrors = false; game = new FlxGame(1280, 720, TitleState, 60, 60, true);