diff -r 16e6d7d87982 -r aca63a3cce36 src/GLRenderer.h --- a/src/GLRenderer.h Mon Mar 10 14:12:28 2014 +0200 +++ b/src/GLRenderer.h Mon Mar 10 14:29:12 2014 +0200 @@ -79,12 +79,22 @@ LDGLData() { - for (int i = 0; i < 6; ++i) + for (int i = 0; i < 7; ++i) { - overlays[i].img = null; - depthValues[i] = 0.0f; + if (i < 6) + { + overlays[i].img = null; + depthValues[i] = 0.0f; + } + + zoom[i] = 30.0; + panX[i] = 0.0; + panY[i] = 0.0; } + rotX = 0; + rotY = 0; + rotZ = 0; init = false; } };