瀏覽代碼

Fix Texture2 having a reference to old pass.params

Aaron Santiago 9 年之前
父節點
當前提交
44e4b0c3af
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      h3d/shader/Texture2.hx

+ 1 - 1
h3d/shader/Texture2.hx

@@ -36,7 +36,7 @@ class Texture2 extends hxsl.Shader {
 	public function new(?tex) {
 		super();
 		this.texture = tex;
-		this.killAlphaThreshold = h3d.pass.Params.defaultKillAlphaThreshold;
+		this.killAlphaThreshold = h3d.mat.Defaults.defaultKillAlphaThreshold;
 	}
 
 }