=== modified file 'scenebuild.cpp'
@@ -13,6 +13,7 @@
mMesh.build_vbo();
mRotationSpeed = 36.0f;
+ mRotation = 0.0;
mRunning = false;
@@ -28,6 +29,8 @@
mPartDuration[0] = 10.0;
mPartDuration[1] = 10.0;
+
+ memset(mAverageFPS, 0, mPartsQty * sizeof(*mAverageFPS));
mCurrentPart = 0;
=== modified file 'sceneshading.cpp'
@@ -38,6 +38,8 @@
mPartDuration[0] = 10.0;
mPartDuration[1] = 10.0;
+
+ memset(mAverageFPS, 0, mPartsQty * sizeof(*mAverageFPS));
mCurrentPart = 0;
=== modified file 'scenetexture.cpp'
@@ -39,6 +39,8 @@
mPartDuration[1] = 10.0;
mPartDuration[2] = 10.0;
+ memset(mAverageFPS, 0, mPartsQty * sizeof(*mAverageFPS));
+
mCurrentPart = 0;
return 1;