commit c92d84ec53bd09bb896d53aaf2aebc0ea50df5b5
Author: Leszek Koltunski <leszek@koltunski.pl>
Date:   Wed May 2 00:21:51 2018 +0100

    minor.

diff --git a/src/main/java/org/distorted/library/main/DistortedEffects.java b/src/main/java/org/distorted/library/main/DistortedEffects.java
index 263928b..4cbd410 100644
--- a/src/main/java/org/distorted/library/main/DistortedEffects.java
+++ b/src/main/java/org/distorted/library/main/DistortedEffects.java
@@ -398,14 +398,14 @@ public class DistortedEffects
       {
       IntBuffer atomicIntBuf = atomicBuf.order(ByteOrder.nativeOrder()).asIntBuffer();
 
-      int counter = atomicIntBuf.get(0);
-      atomicIntBuf.put(0, 0);
+      //int counter = atomicIntBuf.get(0);
       //android.util.Log.e("counter", "now = "+counter+" w="+surface.mWidth+" h="+surface.mHeight
       //                             +" diff="+(counter-surface.mWidth*surface.mHeight));
+      atomicIntBuf.put(0,0);
       }
     else
       {
-      android.util.Log.e("counter", "failed to map buffer");
+      android.util.Log.e("effects", "failed to map atomic buffer");
       }
 
     GLES31.glUnmapBuffer(GLES31.GL_ATOMIC_COUNTER_BUFFER);
