Selaa lähdekoodia

Fix shaders compilation for ps4

ShiroSmith 6 vuotta sitten
vanhempi
commit
49d18b563a
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  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) {