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

Jan Holesovsky kendy at collabora.com
Tue Sep 1 03:20:19 PDT 2015


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

New commits:
commit d2a42d67727b6953ea27ff53a0adc0a012f85460
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Tue Sep 1 12:15:10 2015 +0200

    windows opengl: Don't paint cached widgets upside down.

diff --git a/vcl/opengl/win/gdiimpl.cxx b/vcl/opengl/win/gdiimpl.cxx
index cd7dc87..0b53114 100644
--- a/vcl/opengl/win/gdiimpl.cxx
+++ b/vcl/opengl/win/gdiimpl.cxx
@@ -78,9 +78,9 @@ bool WinOpenGLSalGraphicsImpl::TryRenderCachedNativeControl(ControlCacheKey& rCo
                        nX, nY, rTexture.GetWidth(), rTexture.GetHeight());
 
     if (pCombo->mpMask)
-        DrawTextureDiff(rTexture, *pCombo->mpMask, aPosAry, true);
+        DrawTextureDiff(rTexture, *pCombo->mpMask, aPosAry);
     else
-        DrawTexture(rTexture, aPosAry, true);
+        DrawTexture(rTexture, aPosAry);
 
     PostDraw();
 


More information about the Libreoffice-commits mailing list