diff mbox

[Branch,~glmark2-dev/glmark2/trunk] Rev 17: Remove accesses to non-existent array elements.

Message ID 20110721123631.17019.2029.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

Alexandros Frantzis July 21, 2011, 12:36 p.m. UTC
------------------------------------------------------------
revno: 17
committer: Alexandros Frantzis <alf82@freemail.gr>
timestamp: Thu 2010-07-08 15:52:27 +0300
message:
  Remove accesses to non-existent array elements.
modified:
  scenebuild.cpp


--
lp:glmark2
https://code.launchpad.net/~glmark2-dev/glmark2/trunk

You are subscribed to branch lp:glmark2.
To unsubscribe from this branch go to https://code.launchpad.net/~glmark2-dev/glmark2/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'scenebuild.cpp'
--- scenebuild.cpp	2010-07-08 10:29:59 +0000
+++ scenebuild.cpp	2010-07-08 12:52:27 +0000
@@ -23,15 +23,11 @@ 
 
     mScoreScale[0] = 1.898f;
     mScoreScale[1] = 0.540f;
-    mScoreScale[2] = 0.488f;
-    mScoreScale[3] = 0.420f;
 
     mScore = 0;
     
     mPartDuration[0] = 10.0;
     mPartDuration[1] = 10.0;
-    mPartDuration[2] = 10.0;
-    mPartDuration[3] = 10.0;
     
     mCurrentPart = 0;