[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - vcl/opengl
Luboš Luňák
l.lunak at collabora.com
Tue Jan 13 04:58:37 PST 2015
vcl/opengl/scale.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 30afccefb7d9ce88cdaea7690825c09c21db7983
Author: Luboš Luňák <l.lunak at collabora.com>
Date: Mon Jan 12 14:14:18 2015 +0100
opengl scaling can also handle the generic aliases
Was missing from 82bc764bc9, without this opengl scaling wasn't used for these.
Change-Id: If853435b12383e799afe2f057c43263b2d2297fa
Reviewed-on: https://gerrit.libreoffice.org/13872
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
Tested-by: Michael Meeks <michael.meeks at collabora.com>
Reviewed-by: Michael Stahl <mstahl at redhat.com>
diff --git a/vcl/opengl/scale.cxx b/vcl/opengl/scale.cxx
index 01a9963..a81c63b 100644
--- a/vcl/opengl/scale.cxx
+++ b/vcl/opengl/scale.cxx
@@ -252,7 +252,9 @@ bool OpenGLSalBitmap::Scale( const double& rScaleX, const double& rScaleY, sal_u
if( nScaleFlag == BMP_SCALE_FAST ||
nScaleFlag == BMP_SCALE_BILINEAR ||
nScaleFlag == BMP_SCALE_SUPER ||
- nScaleFlag == BMP_SCALE_LANCZOS )
+ nScaleFlag == BMP_SCALE_LANCZOS ||
+ nScaleFlag == BMP_SCALE_DEFAULT ||
+ nScaleFlag == BMP_SCALE_BESTQUALITY )
{
makeCurrent();
if( mpContext == NULL )
More information about the Libreoffice-commits
mailing list