Skip to content

Commit

Permalink
stop throwing errors on shader compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortex2Oblivion committed Dec 11, 2024
1 parent a38575b commit affaec4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit affaec4

Please sign in to comment.