summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2015-01-12 14:14:18 +0100
committerLuboš Luňák <l.lunak@collabora.com>2015-01-12 14:15:24 +0100
commit2052db85b9491c2ebabfd622b62f803f8800f071 (patch)
treef898946d77fe811811474d3025e9354f3496d261
parentc0085dbc6a63c200a97532448674edd36f102293 (diff)
opengl scaling can also handle the generic aliases
Was missing from 82bc764bc9, without this opengl scaling wasn't used for these. Change-Id: If853435b12383e799afe2f057c43263b2d2297fa
-rw-r--r--vcl/opengl/scale.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/opengl/scale.cxx b/vcl/opengl/scale.cxx
index 01a9963d9e7d..a81c63b238ca 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 )