summaryrefslogtreecommitdiff
path: root/vcl/inc/opengl
diff options
context:
space:
mode:
authorLouis-Francis Ratté-Boulianne <lfrb@collabora.com>2014-11-12 12:53:09 -0500
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-11-13 07:54:17 +0100
commit9ac5aa94665da9c6b9188716345e79ade00dd0cc (patch)
treeac4b456c07b1f8c08f2c429ee24844c62dbe2cb6 /vcl/inc/opengl
parentdc189f79e844c7208220c0903309852a09c8b1c1 (diff)
vcl: Use new size when scaling with filter in OpenGL backend
Change-Id: Ib5d12b0e57b537bbd1798121e80cd517d9c8f751
Diffstat (limited to 'vcl/inc/opengl')
-rw-r--r--vcl/inc/opengl/salbmp.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/opengl/salbmp.hxx b/vcl/inc/opengl/salbmp.hxx
index 77ac90bbbc55..c1f0cdb817ad 100644
--- a/vcl/inc/opengl/salbmp.hxx
+++ b/vcl/inc/opengl/salbmp.hxx
@@ -106,7 +106,7 @@ private:
GLuint mnConvKernelSizeUniform;
GLuint mnConvOffsetsUniform;
- bool ImplScaleFilter( GLenum nFilter );
+ bool ImplScaleFilter( const double& rScaleX, const double& rScaleY, GLenum nFilter );
void ImplCreateKernel( const double& fScale, const Kernel& rKernel, GLfloat*& pWeights, sal_uInt32& aKernelSize );
bool ImplScaleConvolution( const double& rScaleX, const double& rScaleY, const Kernel& aKernel );