diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2016-01-08 22:33:11 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2016-01-09 09:33:43 +0000 |
commit | c71de1458cebcd45b65cef3a182bf1092dc8ad80 (patch) | |
tree | c22c3ef49e083382d89265f33ff9d6c38a445bce /svx/source | |
parent | 2a5afa8394d4ef928c56c0b62e76984b1b87e8c8 (diff) |
tdf#96919 - vcl opengl: implement missing XOR mode.
Also revert "tdf#96257: Silly work-around to produce same result ..."
from commit ec8bc265050d86a749140c353360a78cce4e3fce.
XOR rendering (it turns out) behaves oddly, and not for all operations.
Change-Id: Ie07d988bbf7fed10fb5625ac547a01a306b05319
Reviewed-on: https://gerrit.libreoffice.org/21282
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/sdr/overlay/overlayselection.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/svx/source/sdr/overlay/overlayselection.cxx b/svx/source/sdr/overlay/overlayselection.cxx index 941df12d8093..bab9366054c2 100644 --- a/svx/source/sdr/overlay/overlayselection.cxx +++ b/svx/source/sdr/overlay/overlayselection.cxx @@ -107,16 +107,7 @@ namespace sdr if(bInvert) { // force color to white for invert to get a full invert -#ifdef WNT - // tdf#96257: For likely separate reasons, neither the non-OpenGL nor the OpenGL - // code path produces what we actually want here (a line drawn in 'invert' mode - // if white is used, as happens on X11). In the non-OpenGL case we get a black - // line, in the OpenGL case a white one. So let's use grey and at least get the - // same on both. - aRGBColor = basegfx::BColor(0.5, 0.5, 0.5); -#else aRGBColor = basegfx::BColor(1.0, 1.0, 1.0); -#endif } for(sal_uInt32 a(0);a < nCount; a++) |