Skip to content

Commit fccc5c7

Browse files
authored
Update GPUImageZoomBlurFilter.java
Fixed blur not updating on changing blurSize by correcting an incorrect argument passed to the setFloat() method inside setBlurSize() method.
1 parent 11e69a9 commit fccc5c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/jp/co/cyberagent/android/gpuimage/filter/GPUImageZoomBlurFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ public void setBlurCenter(final PointF blurCenter) {
6666

6767
public void setBlurSize(final float blurSize) {
6868
this.blurSize = blurSize;
69-
setFloat(blurSizeLocation, blurSizeLocation);
69+
setFloat(blurSizeLocation, blurSize);
7070
}
7171
}

0 commit comments

Comments
 (0)