summaryrefslogtreecommitdiff
path: root/vcl/win/gdi
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2017-09-28 12:05:13 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2017-10-04 01:38:21 +0200
commit01f674a95ddec76dc4c8ecfccdca1773657e47cb (patch)
tree4727c9643b6f758ed6ffa6a47bc98b4f3b2b80f7 /vcl/win/gdi
parent6e3e4cd38b56d432c48cd7217885974e3f0519fd (diff)
tdf#112486 Do not force GDI in no OpenGL
See: http://nabble.documentfoundation.org/Re-Minutes-of-ESC-call-2017-09-21-tt4223238.html Change-Id: I19bb4b58d2260fd23c32a687a9f504540c229985 Reviewed-on: https://gerrit.libreoffice.org/42897 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
Diffstat (limited to 'vcl/win/gdi')
-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 3521bea0796d..f7161301d72a 100644
--- a/vcl/win/gdi/winlayout.cxx
+++ b/vcl/win/gdi/winlayout.cxx
@@ -406,7 +406,7 @@ void WinSalGraphics::DrawTextLayout(const CommonSalLayout& rLayout)
if (!bUseOpenGL)
{
// no OpenGL, just classic rendering
- DrawTextLayout(rLayout, hDC, !bForceGDI);
+ DrawTextLayout(rLayout, hDC, false);
}
else if (!bForceGDI && CacheGlyphs(rLayout) &&
DrawCachedGlyphs(rLayout))