[Libreoffice-commits] core.git: vcl/unx
Chris Sherlock
chris.sherlock79 at gmail.com
Wed Jan 21 17:45:19 PST 2015
vcl/unx/generic/gdi/openglx11cairotextrender.cxx | 8 --------
1 file changed, 8 deletions(-)
New commits:
commit 9ea6793a5b765aefc1a8e82c06f225305dd9c14f
Author: Chris Sherlock <chris.sherlock79 at 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.mohrhard at googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard at 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 );
More information about the Libreoffice-commits
mailing list