diff mbox

[Branch,~glmark2-dev/glmark2/trunk] Rev 184: TextRenderer: Fix position() method signature.

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

Commit Message

alexandros.frantzis@linaro.org Jan. 17, 2012, 3:42 p.m. UTC
------------------------------------------------------------
revno: 184
committer: Alexandros Frantzis <alexandros.frantzis@linaro.org>
branch nick: trunk
timestamp: Fri 2012-01-13 20:36:53 +0200
message:
  TextRenderer: Fix position() method signature.
modified:
  src/text-renderer.cpp
  src/text-renderer.h


--
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/text-renderer.cpp'
--- src/text-renderer.cpp	2012-01-05 09:35:49 +0000
+++ src/text-renderer.cpp	2012-01-13 18:36:53 +0000
@@ -97,7 +97,7 @@ 
  * @param t the position
  */
 void
-TextRenderer::position(LibMatrix::vec2& p)
+TextRenderer::position(const LibMatrix::vec2& p)
 {
     if (position_ != p) {
         position_ = p;

=== modified file 'src/text-renderer.h'
--- src/text-renderer.h	2011-12-13 14:25:41 +0000
+++ src/text-renderer.h	2012-01-13 18:36:53 +0000
@@ -38,7 +38,7 @@ 
     ~TextRenderer();
 
     void text(const std::string& t);
-    void position(LibMatrix::vec2& p);
+    void position(const LibMatrix::vec2& p);
     void size(float s);
 
     void render();