summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/backbuffer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/vcl/backbuffer.cxx')
-rw-r--r--canvas/source/vcl/backbuffer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/vcl/backbuffer.cxx b/canvas/source/vcl/backbuffer.cxx
index 427f77f12d53..0ddf0344ea73 100644
--- a/canvas/source/vcl/backbuffer.cxx
+++ b/canvas/source/vcl/backbuffer.cxx
@@ -37,12 +37,12 @@ namespace vclcanvas
// #i95645#
#if defined( MACOSX )
// use AA on VCLCanvas for Mac
- maVDev->SetAntialiasing( AntialiasingFlags::EnableB2dDraw | maVDev->GetAntialiasing() );
+ maVDev->SetAntialiasing( AntialiasingFlags::Enable | maVDev->GetAntialiasing() );
#else
// switch off AA for WIN32 and UNIX, the VCLCanvas does not look good with it and
// is not required to do AA. It would need to be adapted to use it correctly
// (especially gradient painting). This will need extra work.
- maVDev->SetAntialiasing( maVDev->GetAntialiasing() & ~AntialiasingFlags::EnableB2dDraw);
+ maVDev->SetAntialiasing( maVDev->GetAntialiasing() & ~AntialiasingFlags::Enable);
#endif
}