From 6496748f4ef17edc2e4f4156aa70a2890aef074f Mon Sep 17 00:00:00 2001 From: Grondag Date: Wed, 17 Jun 2020 20:33:00 -0700 Subject: [PATCH] More logging for shader output. --- src/main/java/grondag/canvas/shader/GlShader.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/grondag/canvas/shader/GlShader.java b/src/main/java/grondag/canvas/shader/GlShader.java index 528af947e..255997c6f 100644 --- a/src/main/java/grondag/canvas/shader/GlShader.java +++ b/src/main/java/grondag/canvas/shader/GlShader.java @@ -175,6 +175,7 @@ private void outputDebugSource(String source, String error) { if (!shaderDir.exists()) { shaderDir.mkdir(); + CanvasMod.LOG.info("Created shader debug output folder" + shaderDir.toString()); } if(error != null) { @@ -182,6 +183,7 @@ private void outputDebugSource(String source, String error) { if (!shaderDir.exists()) { shaderDir.mkdir(); + CanvasMod.LOG.info("Created shader debug output failure folder" + shaderDir.toString()); } source += "\n\n///////// ERROR ////////\n" + error + "\n////////////////////////\n";