diff options
-rw-r--r-- | vcl/opengl/scale.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/opengl/scale.cxx b/vcl/opengl/scale.cxx index 9ba74323c8c1..3f248072ad6a 100644 --- a/vcl/opengl/scale.cxx +++ b/vcl/opengl/scale.cxx @@ -68,6 +68,8 @@ bool OpenGLSalBitmap::ImplScaleFilter( mnWidth = nNewWidth; mnHeight = nNewHeight; + mnBufWidth = mnWidth; + mnBufHeight = mnHeight; maTexture = aNewTex; CHECK_GL_ERROR(); @@ -181,6 +183,8 @@ bool OpenGLSalBitmap::ImplScaleConvolution( mnWidth = nNewWidth; mnHeight = nNewHeight; + mnBufWidth = mnWidth; + mnBufHeight = mnHeight; CHECK_GL_ERROR(); return true; @@ -256,6 +260,8 @@ bool OpenGLSalBitmap::ImplScaleArea( const rtl::Reference< OpenGLContext > &xCon mnWidth = nNewWidth; mnHeight = nNewHeight; + mnBufWidth = mnWidth; + mnBufHeight = mnHeight; CHECK_GL_ERROR(); return true; |