summaryrefslogtreecommitdiff
path: root/vcl/opengl/scale.cxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2016-02-09 23:23:54 +0100
committerMichael Meeks <michael.meeks@collabora.com>2016-02-10 10:42:42 +0000
commitb4c6cf513c5bb0ed02b95bbdbb0879a78c1eca65 (patch)
treeea0d4751c5f463f3cf243376910a58cd8d1d3577 /vcl/opengl/scale.cxx
parent63fd137cd54fb6df0c812a97d962239b8d0996a0 (diff)
opengl: remove unneeded mnBufWidth{Height} from OpenGLSalBitmap
Change-Id: Idf445b9f6b403a0d37650c14e17b7d754451edf1 Reviewed-on: https://gerrit.libreoffice.org/22258 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'vcl/opengl/scale.cxx')
-rw-r--r--vcl/opengl/scale.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/vcl/opengl/scale.cxx b/vcl/opengl/scale.cxx
index 3f248072ad6a..9ba74323c8c1 100644
--- a/vcl/opengl/scale.cxx
+++ b/vcl/opengl/scale.cxx
@@ -68,8 +68,6 @@ bool OpenGLSalBitmap::ImplScaleFilter(
mnWidth = nNewWidth;
mnHeight = nNewHeight;
- mnBufWidth = mnWidth;
- mnBufHeight = mnHeight;
maTexture = aNewTex;
CHECK_GL_ERROR();
@@ -183,8 +181,6 @@ bool OpenGLSalBitmap::ImplScaleConvolution(
mnWidth = nNewWidth;
mnHeight = nNewHeight;
- mnBufWidth = mnWidth;
- mnBufHeight = mnHeight;
CHECK_GL_ERROR();
return true;
@@ -260,8 +256,6 @@ bool OpenGLSalBitmap::ImplScaleArea( const rtl::Reference< OpenGLContext > &xCon
mnWidth = nNewWidth;
mnHeight = nNewHeight;
- mnBufWidth = mnWidth;
- mnBufHeight = mnHeight;
CHECK_GL_ERROR();
return true;