summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2017-09-28 12:05:13 +0200
committerAndras Timar <andras.timar@collabora.com>2017-09-28 16:41:02 +0200
commitb62fd70ad353da26c74d993bef8d884c2b3a73b7 (patch)
tree94b1d627249785d46a9224372a5074a341a8a47b
parenta9894926013289c89c784d6c3f521c76094f3d56 (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 Patch only for 5.3 branch Change-Id: I19bb4b58d2260fd23c32a687a9f504540c229985 Reviewed-on: https://gerrit.libreoffice.org/42898 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 5440837e02dee8bc884e02be697bfd4def621d26)
-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 5377a96af884..7b363ef83689 100644
--- a/vcl/win/gdi/winlayout.cxx
+++ b/vcl/win/gdi/winlayout.cxx
@@ -3941,7 +3941,7 @@ void WinSalGraphics::DrawSalLayout(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))