[Libreoffice-commits] core.git: Branch 'feature/opengl-vcl2' - vcl/opengl

Markus Mohrhard markus.mohrhard at googlemail.com
Sun Nov 16 08:01:19 PST 2014


 vcl/opengl/x11/gdiimpl.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5633fdbf3507ce6480078f1d0230c740946ff59d
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Nov 16 16:59:20 2014 +0100

    blind fix for native control on X11
    
    Change-Id: I97b3faeda70e4f6481f7ac619f26dea7da83b958

diff --git a/vcl/opengl/x11/gdiimpl.cxx b/vcl/opengl/x11/gdiimpl.cxx
index 26355cb..46a22ce 100644
--- a/vcl/opengl/x11/gdiimpl.cxx
+++ b/vcl/opengl/x11/gdiimpl.cxx
@@ -133,9 +133,9 @@ bool X11OpenGLSalGraphicsImpl::RenderPixmapToScreen( X11Pixmap* pPixmap, int nX,
     SAL_INFO( "vcl.opengl", "RenderPixmapToScreen (" << nX << " " << nY << ")" );
 
     aPosAry.mnSrcX = 0;
-    aPosAry.mnSrcY = 0;
+    aPosAry.mnSrcY = nY;
     aPosAry.mnDestX = nX;
-    aPosAry.mnDestY = nY;
+    aPosAry.mnDestY = 0;
     aPosAry.mnSrcWidth = aPosAry.mnDestWidth = pPixmap->GetWidth();
     aPosAry.mnSrcHeight = aPosAry.mnDestHeight = pPixmap->GetHeight();
 


More information about the Libreoffice-commits mailing list