diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-11-29 02:18:42 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-11-30 00:47:32 +0100 |
commit | ae88bc4f53a7ad655e12dcbd932bed61ee6d8203 (patch) | |
tree | 2948ab782114143bc19955f216f8e9430f229c08 | |
parent | b7d07ffcad2767013e1db5627b4a6d90f629e8ed (diff) |
if we use hungarian notation let use it consistently
Change-Id: Ia17a5d983afb98e0b348909a66be85ea55f8a47a
-rw-r--r-- | vcl/opengl/gdiimpl.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx index 295ac2356fb6..6de9a588ea70 100644 --- a/vcl/opengl/gdiimpl.cxx +++ b/vcl/opengl/gdiimpl.cxx @@ -770,7 +770,7 @@ void OpenGLSalGraphicsImpl::DrawPolygon( sal_uInt32 nPoints, const SalPoint* pPt void OpenGLSalGraphicsImpl::DrawPolyPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon ) { sal_uInt32 i, j; - ::std::vector< GLfloat > pVertices; + ::std::vector< GLfloat > aVertices; GLfloat nWidth = GetWidth(); GLfloat nHeight = GetHeight(); const ::basegfx::B2DPolyPolygon& aSimplePolyPolygon = ::basegfx::tools::solveCrossovers( rPolyPolygon ); @@ -784,14 +784,14 @@ void OpenGLSalGraphicsImpl::DrawPolyPolygon( const basegfx::B2DPolyPolygon& rPol for( j = 0; j < aResult.count(); j++ ) { const ::basegfx::B2DPoint& rPt( aResult.getB2DPoint( j ) ); - pVertices.push_back( 2 * rPt.getX() / nWidth - 1.0f ); - pVertices.push_back( 1.0f - 2 * rPt.getY() / nHeight ); + aVertices.push_back( 2 * rPt.getX() / nWidth - 1.0f ); + aVertices.push_back( 1.0f - 2 * rPt.getY() / nHeight ); } } glEnableVertexAttribArray( GL_ATTRIB_POS ); - glVertexAttribPointer( GL_ATTRIB_POS, 2, GL_FLOAT, GL_FALSE, 0, pVertices.data() ); - glDrawArrays( GL_TRIANGLES, 0, pVertices.size() / 2 ); + glVertexAttribPointer( GL_ATTRIB_POS, 2, GL_FLOAT, GL_FALSE, 0, aVertices.data() ); + glDrawArrays( GL_TRIANGLES, 0, aVertices.size() / 2 ); glDisableVertexAttribArray( GL_ATTRIB_POS ); CHECK_GL_ERROR(); |