diff options
author | Louis-Francis Ratté-Boulianne <lfrb@collabora.com> | 2014-11-22 08:10:48 -0500 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-12-02 15:47:23 +0100 |
commit | d637d398f4567f01bba67805a4c2ce4f8a4f1c18 (patch) | |
tree | 6f794bed64e99af552bee9b157f129dc54b5f115 /vcl/opengl | |
parent | 1f4d25ecd2fc6c6f106966ce13e39cffcc5e4a1b (diff) |
vcl: Re-flip native X11 widgets upside down in OpenGL backend
Change-Id: I1819f8e3357dc2f805b0ecebca0659fe073ec611
Diffstat (limited to 'vcl/opengl')
-rw-r--r-- | vcl/opengl/x11/gdiimpl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/opengl/x11/gdiimpl.cxx b/vcl/opengl/x11/gdiimpl.cxx index 0a8bf681484e..0818c59674fd 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(); |