diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-13 13:20:01 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-14 07:36:00 +0000 |
commit | cca9ca6290d2b1e1c909c12ee4818683e3808007 (patch) | |
tree | 5b8563712c541594f969896857da831f7e067610 /vcl/unx/generic/gdi | |
parent | f2adfadfa850510e87df7f200ef79e84fdb65f39 (diff) |
mnUsingXRender unnecessary now
Diffstat (limited to 'vcl/unx/generic/gdi')
-rw-r--r-- | vcl/unx/generic/gdi/gcach_xpeer.cxx | 5 | ||||
-rw-r--r-- | vcl/unx/generic/gdi/gcach_xpeer.hxx | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/vcl/unx/generic/gdi/gcach_xpeer.cxx b/vcl/unx/generic/gdi/gcach_xpeer.cxx index 6c49db96976b..70279160aafc 100644 --- a/vcl/unx/generic/gdi/gcach_xpeer.cxx +++ b/vcl/unx/generic/gdi/gcach_xpeer.cxx @@ -59,7 +59,6 @@ X11GlyphPeer::X11GlyphPeer() , mnMaxScreens(0) , mnDefaultScreen(0) , mnExtByteCount(0) -, mnUsingXRender(0) { maRawBitmap.mnAllocated = 0; maRawBitmap.mpBits = NULL; @@ -117,12 +116,10 @@ void X11GlyphPeer::InitAntialiasing() return; } - mnUsingXRender = 0; - // enable XRENDER accelerated aliasing on screens that support it // unless it explicitly disabled by an environment variable if( (nEnvAntiAlias & 2) == 0 ) - mnUsingXRender = XRenderPeer::GetInstance().InitRenderText(); + XRenderPeer::GetInstance().InitRenderText(); } // =========================================================================== diff --git a/vcl/unx/generic/gdi/gcach_xpeer.hxx b/vcl/unx/generic/gdi/gcach_xpeer.hxx index c3e3bb9918ca..8b20eb614c9e 100644 --- a/vcl/unx/generic/gdi/gcach_xpeer.hxx +++ b/vcl/unx/generic/gdi/gcach_xpeer.hxx @@ -69,7 +69,6 @@ private: int mnDefaultScreen; int mnExtByteCount; RawBitmap maRawBitmap; - sal_uInt32 mnUsingXRender; }; class X11GlyphCache : public GlyphCache |