diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-06-08 09:11:06 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-06-08 09:16:21 +0300 |
commit | d106ffc5f1c611657e7ccd96ac9dab70cc7ebe53 (patch) | |
tree | d75f1b2f257797ab6d3f352014d903de2eacd54e /vcl/inc | |
parent | 1495e5b263c0d5c008d6d7294632f2492b6f1062 (diff) |
loplugin:passstuffbyref
Change-Id: I67f256349cbe63c73c006bf0a8e7cd5b59944136
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/opengl/VertexUtils.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/opengl/VertexUtils.hxx b/vcl/inc/opengl/VertexUtils.hxx index d99998cb3068..1c4b9386f153 100644 --- a/vcl/inc/opengl/VertexUtils.hxx +++ b/vcl/inc/opengl/VertexUtils.hxx @@ -62,12 +62,12 @@ inline glm::vec4 createGLColor(const SalColor& rColor, GLfloat rTransparency) } template<GLenum TYPE> -inline void addQuadColors(std::vector<glm::vec4>& rColors, const SalColor& rColor, GLfloat rTransparency); +inline void addQuadColors(std::vector<glm::vec4>& rColors, SalColor nColor, GLfloat rTransparency); template<> -inline void addQuadColors<GL_TRIANGLES>(std::vector<glm::vec4>& rColors, const SalColor& rColor, GLfloat rTransparency) +inline void addQuadColors<GL_TRIANGLES>(std::vector<glm::vec4>& rColors, SalColor nColor, GLfloat rTransparency) { - glm::vec4 color = createGLColor(rColor, rTransparency); + glm::vec4 color = createGLColor(nColor, rTransparency); rColors.insert(rColors.end(), { color, color, color, |