Browse Source

close shader debug dump output

ncannasse 7 năm trước cách đây
mục cha
commit
c5c2f0fb27
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      hxsl/Cache.hx

+ 1 - 0
hxsl/Cache.hx

@@ -292,6 +292,7 @@ class Cache {
 			byID.set(r.signature, r);
 
 		#if shader_debug_dump
+		if( dbg != null ) dbg.close();
 		haxe.Log.trace = oldTrace;
 		#end