From b639fe60eab2a221e23dc9d509f9281857d656a3 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 19 Nov 2015 11:51:47 +0000 Subject: VirtualDevices either match another device depth, or are 1 bit cairo can therefore always render to a svp virtual device with need for a fallback Change-Id: I5d03ae541820389e26f7448444444be009fb28a4 --- cppcanvas/source/mtfrenderer/transparencygroupaction.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cppcanvas/source') diff --git a/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx b/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx index 7962877deac4..9d75134a38cb 100644 --- a/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx +++ b/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx @@ -241,7 +241,7 @@ namespace cppcanvas // render our content into an appropriately sized // VirtualDevice with alpha channel ScopedVclPtrInstance aVDev( - *::Application::GetDefaultDevice(), DeviceFormat::FULLCOLOR, DeviceFormat::FULLCOLOR ); + *::Application::GetDefaultDevice(), DeviceFormat::DEFAULT, DeviceFormat::DEFAULT ); aVDev->SetOutputSizePixel( aBitmapSizePixel ); aVDev->SetMapMode(); -- cgit