[Libreoffice-commits] core.git: vcl/opengl

Markus Mohrhard markus.mohrhard at googlemail.com
Sun Nov 16 08:18:58 PST 2014


 vcl/opengl/x11/gdiimpl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

    vcl: Invert OpenGL Native Widget rendering in Y.
    
    Change-Id: I65a0bef7e817c82285a0e053846798f02e8d7fc8

diff --git a/vcl/opengl/x11/gdiimpl.cxx b/vcl/opengl/x11/gdiimpl.cxx
index 26355cb..5292038 100644
--- a/vcl/opengl/x11/gdiimpl.cxx
+++ b/vcl/opengl/x11/gdiimpl.cxx
@@ -153,7 +153,7 @@ bool X11OpenGLSalGraphicsImpl::RenderPixmapToScreen( X11Pixmap* pPixmap, int nX,
     //TODO: lfrb: glXGetProc to get the functions
     glXBindTexImageEXT( pDisplay, pGlxPixmap, GLX_FRONT_LEFT_EXT, NULL );
 
-    DrawTexture( aTexture, aPosAry, !bInverted );
+    DrawTexture( aTexture, aPosAry, bInverted );
 
     glXReleaseTexImageEXT( pDisplay, pGlxPixmap, GLX_FRONT_LEFT_EXT );
     glXDestroyPixmap( pDisplay, pGlxPixmap );


More information about the Libreoffice-commits mailing list