diff mbox

[Branch,~glmark2-dev/glmark2/trunk] Rev 55: Fix the alignment of the display of results for the shading Scene.

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

Commit Message

Alexandros Frantzis July 21, 2011, 12:36 p.m. UTC
------------------------------------------------------------
revno: 55
committer: Alexandros Frantzis <alf82@freemail.gr>
timestamp: Thu 2010-07-15 12:12:42 +0300
message:
  Fix the alignment of the display of results for the shading Scene.
modified:
  src/sceneshading.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 'src/sceneshading.cpp'
--- src/sceneshading.cpp	2010-07-15 08:59:36 +0000
+++ src/sceneshading.cpp	2010-07-15 09:12:42 +0000
@@ -127,15 +127,16 @@ 
     {
         mAverageFPS[mCurrentPart] = mCurrentFrame / mElapsedTime;
         
-        switch(mCurrentPart)
-        {
-        case 0:
-            printf("Shading\n");
-            printf("    GLSL per vertex lighting FPS: %u\n", mAverageFPS[mCurrentPart]);
-            break;
-        case 1:
-            printf("    GLSL per pixel lighting  FPS: %u\n", mAverageFPS[mCurrentPart]);
-            break;
+        switch(mCurrentPart) {
+            case 0:
+                printf("Shading\n");
+                printf("    GLSL per vertex lighting      FPS: %u\n",
+                       mAverageFPS[mCurrentPart]);
+                break;
+            case 1:
+                printf("    GLSL per pixel lighting       FPS: %u\n",
+                       mAverageFPS[mCurrentPart]);
+                break;
         }
         mCurrentPart++;
         if(mCurrentPart >= mPartsQty)