summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2017-09-28 21:35:51 +0200
committerAndras Timar <andras.timar@collabora.com>2017-09-28 21:35:51 +0200
commitc8c26b466f28222618b2edae15d66eb7ad020e67 (patch)
tree5013e653e0f9ed52aacec87b4f87aaa716151168
parentRevert "tdf#106990 set cleartype setting / force to use GDI render mode" (diff)
downloadcore-c8c26b466f28222618b2edae15d66eb7ad020e67.tar.gz
core-c8c26b466f28222618b2edae15d66eb7ad020e67.zip
Revert "tdf#112486 Do not force GDI in no OpenGL"
This reverts commit b62fd70ad353da26c74d993bef8d884c2b3a73b7.
-rw-r--r--vcl/win/gdi/winlayout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx
index f555d86325f2..18c17b02abc2 100644
--- a/vcl/win/gdi/winlayout.cxx
+++ b/vcl/win/gdi/winlayout.cxx
@@ -3873,7 +3873,7 @@ void WinSalGraphics::DrawSalLayout(const CommonSalLayout& rLayout)
if (!bUseOpenGL)
{
// no OpenGL, just classic rendering
- DrawTextLayout(rLayout, hDC, false);
+ DrawTextLayout(rLayout, hDC, !bForceGDI);
}
else if (!bForceGDI && CacheGlyphs(rLayout) &&
DrawCachedGlyphs(rLayout))