summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-11-29 02:18:42 +0100
committerJan Holesovsky <kendy@collabora.com>2014-12-02 15:47:27 +0100
commit160598daa0f859c6adc7c6ba82c990440414dd85 (patch)
treefc7e476481f3da191a937000ad6e5db8d503333c
parent688e910da8fe1405a397210b72ac04421dd0e12f (diff)
if we use hungarian notation let use it consistently
Change-Id: Ia17a5d983afb98e0b348909a66be85ea55f8a47a
-rw-r--r--vcl/opengl/gdiimpl.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 59bf8545221f..1088b41a4670 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -772,7 +772,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 );
@@ -786,14 +786,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();