commit 477fc548cdc94b3a98f6f77c7948e5842b737801
Author: leszek <leszek@koltunski.pl>
Date:   Wed Apr 26 00:07:11 2017 +0100

    Revert "Minor."
    
    This reverts commit 1a23144587625d973a62c479cf0aef57e2958de1.

diff --git a/src/main/java/org/distorted/examples/mirror/MirrorRenderer.java b/src/main/java/org/distorted/examples/mirror/MirrorRenderer.java
index 73774fa..0b994ce 100644
--- a/src/main/java/org/distorted/examples/mirror/MirrorRenderer.java
+++ b/src/main/java/org/distorted/examples/mirror/MirrorRenderer.java
@@ -46,7 +46,7 @@ import javax.microedition.khronos.opengles.GL10;
 class MirrorRenderer implements GLSurfaceView.Renderer
 {
    private static final float MIRROR_SCALE     =0.70f;  // each next mirror will be 70% of the size or the previous
-   private static final float HEAD_SCALE       =0.40f;  // Head's height will be 40% of the height of the mirror
+   private static final float HEAD_SCALE       =0.40f;  // Head's height will be 30% of the height of the mirror
    private static final float MIRROR_BRIGHTNESS=0.70f;  // Each next mirror 30% darker
    private static final float MIRROR_MARGIN    =0.09f;  // The frame of the mirror takes up 9% of its width
    private static final float MIRROR_MOVE      =0.12f;  // Each next mirror is moved to the right by 12% of
@@ -190,8 +190,8 @@ class MirrorRenderer implements GLSurfaceView.Renderer
       mHeadW = bitmapH.getWidth();
       mHeadH = bitmapH.getHeight();
 
-      if( mTextureMirror==null ) mTextureMirror = new DistortedTexture(1,1);
-      if( mTextureHead  ==null ) mTextureHead   = new DistortedTexture(1,1);
+      if( mTextureMirror==null ) mTextureMirror = new DistortedTexture(bitmapM.getWidth(),bitmapM.getHeight());
+      if( mTextureHead  ==null ) mTextureHead   = new DistortedTexture(mHeadW, mHeadH);
 
       mTextureMirror.setTexture(bitmapM);
       mTextureHead.setTexture(bitmapH);
