Kaydet (Commit) d2a42d67 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

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

üst d9305ae6
...@@ -78,9 +78,9 @@ bool WinOpenGLSalGraphicsImpl::TryRenderCachedNativeControl(ControlCacheKey& rCo ...@@ -78,9 +78,9 @@ bool WinOpenGLSalGraphicsImpl::TryRenderCachedNativeControl(ControlCacheKey& rCo
nX, nY, rTexture.GetWidth(), rTexture.GetHeight()); nX, nY, rTexture.GetWidth(), rTexture.GetHeight());
if (pCombo->mpMask) if (pCombo->mpMask)
DrawTextureDiff(rTexture, *pCombo->mpMask, aPosAry, true); DrawTextureDiff(rTexture, *pCombo->mpMask, aPosAry);
else else
DrawTexture(rTexture, aPosAry, true); DrawTexture(rTexture, aPosAry);
PostDraw(); PostDraw();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment