ソースを参照

Fix shaders compilation for ps4

ShiroSmith 6 年 前
コミット
49d18b563a
1 ファイル変更4 行追加0 行削除
  1. 4 0
      hxsl/CacheFileBuilder.hx

+ 4 - 0
hxsl/CacheFileBuilder.hx

@@ -16,7 +16,11 @@ private class CustomCacheFile extends CacheFile {
 	public function new(build) {
 		this.build = build;
 		super(true, true);
+	}
+	
+	override function load() {
 		allowSave = true;
+		super.load();
 	}
 
 	override function addSource(r:RuntimeShader) {