From 01f674a95ddec76dc4c8ecfccdca1773657e47cb Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Thu, 28 Sep 2017 12:05:13 +0200 Subject: 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 Tested-by: Khaled Hosny --- vcl/win/gdi/winlayout.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit