#i107763# avoid strange visuals on X11 platforms

This commit is contained in:
Philipp Lohmann 2010-01-29 12:28:08 +00:00
parent da2c680d23
commit f4546bdaed

View file

@ -269,6 +269,9 @@ void OutputDevice::DrawTransparent( const PolyPolygon& rPolyPoly,
// try hard to draw it directly, because the emulation layers are slower
if( !pDisableNative
&& mpGraphics->supportsOperation( OutDevSupport_B2DDraw )
#if defined UNX && ! defined QUARTZ
&& GetBitCount() > 8
#endif
#ifdef WIN32
// workaround bad dithering on remote displaying when using GDI+ with toolbar buttoin hilighting
&& !rPolyPoly.IsRect()