Skip to content

Commit

Permalink
FurballGame: Only create debugging stuff in debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Beyley committed Jan 3, 2023
1 parent e5df627 commit 8169fb3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Furball.Engine/FurballGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,10 @@ protected override void Initialize() {

MonoModCheck();

this.CreateTextureDebugger();
this.CreateSceneViewer();
if (RuntimeInfo.IsDebug()) {
this.CreateTextureDebugger();
this.CreateSceneViewer();
}

WindowManager.FramebufferResize += this.OnWindowResize;

Expand Down

0 comments on commit 8169fb3

Please sign in to comment.