vcl/unx/generic/gdi/openglx11cairotextrender.cxx | 8 -------- 1 file changed, 8 deletions(-)
New commits: commit 9ea6793a5b765aefc1a8e82c06f225305dd9c14f Author: Chris Sherlock <chris.sherloc...@gmail.com> Date: Tue Jan 20 17:58:40 2015 +1100 vcl: cleanup of OpenGLX11CairoTextRender::drawSurface Change-Id: I8288d330f17e08314ccff378c8c00ef5ed82cb64 Reviewed-on: https://gerrit.libreoffice.org/14064 Tested-by: Markus Mohrhard <markus.mohrh...@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> diff --git a/vcl/unx/generic/gdi/openglx11cairotextrender.cxx b/vcl/unx/generic/gdi/openglx11cairotextrender.cxx index 7b4e664..64bf196 100644 --- a/vcl/unx/generic/gdi/openglx11cairotextrender.cxx +++ b/vcl/unx/generic/gdi/openglx11cairotextrender.cxx @@ -69,14 +69,6 @@ void OpenGLX11CairoTextRender::drawSurface(cairo_t* cr) SalTwoRect aRect(0, 0, nWidth, nHeight, aClipRect.Left(), aClipRect.Top(), nWidth, nHeight); - aRect.mnSrcX = 0; - aRect.mnSrcY = 0; - aRect.mnSrcWidth = nWidth; - aRect.mnSrcHeight = nHeight; - aRect.mnDestX = aClipRect.Left(); - aRect.mnDestY = aClipRect.Top(); - aRect.mnDestWidth = nWidth; - aRect.mnDestHeight = nHeight; // Cairo surface data is ARGB with premultiplied alpha and is Y-inverted OpenGLTexture aTexture( nWidth, nHeight, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, pSrc ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits