From aff5f1973421e661791a81a74d28e8a2e80cef8b Mon Sep 17 00:00:00 2001 From: Louis-Francis Ratté-Boulianne Date: Sat, 22 Nov 2014 08:10:48 -0500 Subject: vcl: Re-flip native X11 widgets upside down in OpenGL backend Change-Id: I1819f8e3357dc2f805b0ecebca0659fe073ec611 --- vcl/opengl/x11/gdiimpl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcl/opengl/x11/gdiimpl.cxx b/vcl/opengl/x11/gdiimpl.cxx index b04bab64e24d..605cbd55d760 100644 --- a/vcl/opengl/x11/gdiimpl.cxx +++ b/vcl/opengl/x11/gdiimpl.cxx @@ -199,14 +199,14 @@ bool X11OpenGLSalGraphicsImpl::RenderPixmapToScreen( X11Pixmap* pPixmap, X11Pixm glXBindTexImageEXT( pDisplay, pGlxMask, GLX_FRONT_LEFT_EXT, NULL ); aMaskTexture.Unbind(); - DrawTextureDiff( aTexture, aMaskTexture, aPosAry, !bInverted ); + DrawTextureDiff( aTexture, aMaskTexture, aPosAry, bInverted ); glXReleaseTexImageEXT( pDisplay, pGlxMask, GLX_FRONT_LEFT_EXT ); glXDestroyPixmap( pDisplay, pGlxMask ); } else { - DrawTexture( aTexture, aPosAry, !bInverted ); + DrawTexture( aTexture, aPosAry, bInverted ); } CHECK_GL_ERROR(); -- cgit v1.2.3