diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-25 15:09:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-28 08:32:56 +0200 |
commit | 3a36cf434fb4a967c9ea767cb7ac5f4da0502a0d (patch) | |
tree | ab1747ff3e977ad322cf05b68626879f2c68e6e0 /vcl/opengl/gdiimpl.cxx | |
parent | 74ccd02eda2d6325a27266fd935aba29b3d75020 (diff) |
loplugin:checkunusedparams in configmgr and vcl
Change-Id: I7226d01f38e6edaf3868d7267d9b02dbdbc9e5ba
Reviewed-on: https://gerrit.libreoffice.org/36975
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/opengl/gdiimpl.cxx')
-rw-r--r-- | vcl/opengl/gdiimpl.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx index 5b92cb08c64b..80ba872b4fc5 100644 --- a/vcl/opengl/gdiimpl.cxx +++ b/vcl/opengl/gdiimpl.cxx @@ -944,7 +944,7 @@ void OpenGLSalGraphicsImpl::DrawRegionBand( const RegionBand& rRegion ) CHECK_GL_ERROR(); } -void OpenGLSalGraphicsImpl::DrawTextureRect( OpenGLTexture& /*rTexture*/, const SalTwoRect& rPosAry, bool /*bInverted*/ ) +void OpenGLSalGraphicsImpl::DrawTextureRect( const SalTwoRect& rPosAry ) { OpenGLZone aZone; @@ -982,7 +982,7 @@ void OpenGLSalGraphicsImpl::DrawTexture( OpenGLTexture& rTexture, const SalTwoRe mpProgram->SetMaskCoord(aTexCoord); mpProgram->SetAlphaCoord(aTexCoord); - DrawTextureRect( rTexture, rPosAry, bInverted ); + DrawTextureRect( rPosAry ); mpProgram->Clean(); } @@ -1212,7 +1212,7 @@ void OpenGLSalGraphicsImpl::DrawAlphaTexture( OpenGLTexture& rTexture, const Sal mpProgram->SetMaskCoord(aTexCoord); mpProgram->SetAlphaCoord(aTexCoord); - DrawTextureRect( rTexture, rPosAry, bInverted ); + DrawTextureRect( rPosAry ); mpProgram->Clean(); } @@ -1237,7 +1237,7 @@ void OpenGLSalGraphicsImpl::DrawTextureDiff( OpenGLTexture& rTexture, OpenGLText rMask.GetCoord(aMaskCoord, rPosAry, bInverted); mpProgram->SetMaskCoord(aMaskCoord); - DrawTextureRect( rTexture, rPosAry, bInverted ); + DrawTextureRect( rPosAry ); mpProgram->Clean(); } @@ -1262,7 +1262,7 @@ void OpenGLSalGraphicsImpl::DrawTextureWithMask( OpenGLTexture& rTexture, OpenGL rMask.GetCoord(aMaskCoord, rPosAry); mpProgram->SetMaskCoord(aMaskCoord); - DrawTextureRect(rTexture, rPosAry); + DrawTextureRect(rPosAry); mpProgram->Clean(); } @@ -1290,7 +1290,7 @@ void OpenGLSalGraphicsImpl::DrawBlendedTexture( OpenGLTexture& rTexture, OpenGLT mpProgram->SetMaskCoord(aMaskCoord); mpProgram->SetBlendMode( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ); - DrawTextureRect( rTexture, rPosAry ); + DrawTextureRect( rPosAry ); mpProgram->Clean(); } @@ -1312,7 +1312,7 @@ void OpenGLSalGraphicsImpl::DrawMask( OpenGLTexture& rMask, SalColor nMaskColor, mpProgram->SetAlphaCoord(aTexCoord); mpProgram->SetBlendMode( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ); - DrawTextureRect(rMask, rPosAry); + DrawTextureRect(rPosAry); mpProgram->Clean(); } @@ -1831,7 +1831,7 @@ bool OpenGLSalGraphicsImpl::blendBitmap( mpProgram->SetAlphaCoord(aTexCoord); mpProgram->SetBlendMode(GL_ZERO, GL_SRC_COLOR); - DrawTextureRect(rTexture, rPosAry); + DrawTextureRect(rPosAry); mpProgram->Clean(); PostDraw(); |