Ver código fonte

Fix border pass.

clementlandrin 1 ano atrás
pai
commit
91ac421f92
1 arquivos alterados com 1 adições e 1 exclusões
  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());
 		super(new BorderShader());
 		this.width = width;
 		this.width = width;
 		this.height = height;
 		this.height = height;
-		this.size = height;
+		this.size = size;
 		shader.color.set(1,1,1,1);
 		shader.color.set(1,1,1,1);
 	}
 	}