summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/filters/vignette.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/vignette.rs')
-rw-r--r--src/com/android/gallery3d/filtershow/filters/vignette.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/vignette.rs b/src/com/android/gallery3d/filtershow/filters/vignette.rs
index 709b220..7ab4663 100644
--- a/src/com/android/gallery3d/filtershow/filters/vignette.rs
+++ b/src/com/android/gallery3d/filtershow/filters/vignette.rs
@@ -38,8 +38,6 @@ static const float Bf = 0.114f;
void setupVignetteParams() {
- int k = 0;
-
scalex = 1.f / radiusx;
scaley = 1.f / radiusy;
@@ -75,4 +73,4 @@ uchar4 __attribute__((kernel)) vignette(const uchar4 in, uint32_t x, uint32_t y
wsum.a = 1.0f;
uchar4 out = rsPackColorTo8888(clamp(wsum, 0.f, 1.0f));
return out;
-} \ No newline at end of file
+}