mirror of
https://github.com/wasabeef/glide-transformations.git
synced 2025-06-08 23:44:04 +08:00
fix bug
This commit is contained in:
parent
bbb10c5c64
commit
f839029adb
@ -64,10 +64,10 @@ public class SwirlFilterTransformation implements Transformation<Bitmap> {
|
||||
gpuImage.setImage(source);
|
||||
GPUImageSwirlFilter filter = new GPUImageSwirlFilter();
|
||||
if (mRadius != 0) {
|
||||
filter.setAngle(mAngle);
|
||||
filter.setRadius(mRadius);
|
||||
}
|
||||
if (mAngle != 0) {
|
||||
filter.setRadius(mAngle);
|
||||
filter.setAngle(mAngle);
|
||||
}
|
||||
if (mCenter != null) {
|
||||
filter.setCenter(mCenter);
|
||||
|
Loading…
x
Reference in New Issue
Block a user