Nicolas Cannasse 8 months ago
parent
commit
e86e2eabe1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      hxsl/Debug.hx

+ 2 - 2
hxsl/Debug.hx

@@ -2,8 +2,8 @@ package hxsl;
 
 class Debug {
 
-	public static var VAR_IDS = true;
-	public static var TRACE = true;
+	public static var VAR_IDS = #if shader_debug_var_ids true #else false #end;
+	public static var TRACE = #if shader_debug_dump true #else false #end;
 
 	public static macro function trace(str) {
 		return macro if( hxsl.Debug.TRACE ) trace($str);