Kaydet (Commit) 9ea6793a authored tarafından Chris Sherlock's avatar Chris Sherlock Kaydeden (comit) Markus Mohrhard

vcl: cleanup of OpenGLX11CairoTextRender::drawSurface

Change-Id: I8288d330f17e08314ccff378c8c00ef5ed82cb64
Reviewed-on: https://gerrit.libreoffice.org/14064Tested-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 9fd38a52
...@@ -69,14 +69,6 @@ void OpenGLX11CairoTextRender::drawSurface(cairo_t* cr) ...@@ -69,14 +69,6 @@ void OpenGLX11CairoTextRender::drawSurface(cairo_t* cr)
SalTwoRect aRect(0, 0, nWidth, nHeight, SalTwoRect aRect(0, 0, nWidth, nHeight,
aClipRect.Left(), aClipRect.Top(), 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 // 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 ); OpenGLTexture aTexture( nWidth, nHeight, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, pSrc );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment