diff mbox

[Branch,~glmark2-dev/glmark2/trunk] Rev 161: Main, SceneEffect2D: Ensure proper log continuations.

Message ID 20111102152302.4526.3130.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

alexandros.frantzis@linaro.org Nov. 2, 2011, 3:23 p.m. UTC
------------------------------------------------------------
revno: 161
committer: Alexandros Frantzis <alexandros.frantzis@linaro.org>
branch nick: trunk
timestamp: Wed 2011-11-02 16:43:36 +0200
message:
  Main,SceneEffect2D: Ensure proper log continuations.
modified:
  src/main.cpp
  src/scene-effect-2d.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/main.cpp'
--- src/main.cpp	2011-11-01 13:46:05 +0000
+++ src/main.cpp	2011-11-02 14:43:36 +0000
@@ -251,7 +251,7 @@ 
                     break;
             }
 
-            Log::info(" Validation: %s\n", result.c_str());
+            Log::info(LOG_CONTINUE" Validation: %s\n", result.c_str());
         }
 
         bench->teardown_scene();

=== modified file 'src/scene-effect-2d.cpp'
--- src/scene-effect-2d.cpp	2011-08-31 21:22:27 +0000
+++ src/scene-effect-2d.cpp	2011-11-02 14:43:36 +0000
@@ -221,10 +221,13 @@ 
 
             ss >> f;
             matrix.push_back(f);
-            Log::debug("%f ", f);
+            if (iter_el == elems.begin())
+                Log::debug("%f ", f);
+            else
+                Log::debug(LOG_CONTINUE"%f ", f);
         }
 
-        Log::debug("\n");
+        Log::debug(LOG_CONTINUE"\n");
     }
 
     width = w;