Nicolas Cannasse 8 月之前
父节点
当前提交
e86e2eabe1
共有 1 个文件被更改,包括 2 次插入2 次删除
  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);