瀏覽代碼

Fix border pass.

clementlandrin 1 年之前
父節點
當前提交
91ac421f92
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      h3d/pass/Border.hx

+ 1 - 1
h3d/pass/Border.hx

@@ -22,7 +22,7 @@ class Border extends ScreenFx<BorderShader> {
 		super(new BorderShader());
 		this.width = width;
 		this.height = height;
-		this.size = height;
+		this.size = size;
 		shader.color.set(1,1,1,1);
 	}