diff options
Diffstat (limited to 'vcl/win/source/gdi/winlayout.cxx')
-rw-r--r-- | vcl/win/source/gdi/winlayout.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx index 7f6fdc9729e2..1d461e6049bf 100644 --- a/vcl/win/source/gdi/winlayout.cxx +++ b/vcl/win/source/gdi/winlayout.cxx @@ -243,13 +243,11 @@ void WinLayout::DrawText(SalGraphics& rGraphics) const aRects.mnDestWidth = width; aRects.mnDestHeight = height; - pImpl->PreDraw(); COLORREF color = GetTextColor(hDC); SalColor salColor = MAKE_SALCOLOR(GetRValue(color), GetGValue(color), GetBValue(color)); - // TODO when we have it: - // pImpl->DrawSolidColorWithMask(salColor, aTexture, aRects); - // and kill the following interim thing: - pImpl->DrawTexture(aTexture, aRects); + + pImpl->PreDraw(); + pImpl->DrawMask(aTexture, salColor, aRects); pImpl->PostDraw(); } |