Message ID | 20120117154213.3322.19895.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== 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();