[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - vcl/opengl

Jan Holesovsky kendy at collabora.com
Tue Sep 1 05:33:47 PDT 2015


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

New commits:
commit 9d747c428fe56211b7c87e87632ad47289914f5f
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.
    
    Change-Id: Idf1e4bd06c2c6d2371c634e68baf4fd0a7763cb1
    Reviewed-on: https://gerrit.libreoffice.org/18233
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Miklos Vajna <vmiklos at collabora.co.uk>

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