summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-09-01 12:15:10 +0200
committerJan Holesovsky <kendy@collabora.com>2015-09-01 12:19:40 +0200
commitd2a42d67727b6953ea27ff53a0adc0a012f85460 (patch)
treeceb7967da8fd9f6d15c11796d603d5480e43067b
parentd9305ae68bf3707242a96fb1b697c36d6eaf91c4 (diff)
windows opengl: Don't paint cached widgets upside down.
-rw-r--r--vcl/opengl/win/gdiimpl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/opengl/win/gdiimpl.cxx b/vcl/opengl/win/gdiimpl.cxx
index cd7dc87b6e8c..0b531141be17 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();