[Libreoffice-commits] core.git: vcl/opengl

Luboš Luňák l.lunak at collabora.com
Mon Jan 12 05:15:49 PST 2015


 vcl/opengl/scale.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 2052db85b9491c2ebabfd622b62f803f8800f071
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

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