From b9266113514657be1cf9352e1457a5c62876784c Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Fri, 16 Mar 2012 10:02:18 +0100 Subject: Clear sprites to white fdo#45219. Another fix for a rendering glitch mentioned in fdo#45219 - vclcanvas sadly does not properly implement compositing, so all- black background yields dark shadows on semi-transparent objects. Ultimately though, we should retire vclcanvas instead. --- slideshow/source/engine/slideview.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slideshow') diff --git a/slideshow/source/engine/slideview.cxx b/slideshow/source/engine/slideview.cxx index 001f533d9f4a..0d55528aacb7 100644 --- a/slideshow/source/engine/slideview.cxx +++ b/slideshow/source/engine/slideview.cxx @@ -206,7 +206,7 @@ void clearRect( ::cppcanvas::CanvasSharedPtr const& pCanvas, if( pPolyPoly ) { pPolyPoly->setCompositeOp( cppcanvas::CanvasGraphic::SOURCE ); - pPolyPoly->setRGBAFillColor( 0x00000000U ); + pPolyPoly->setRGBAFillColor( 0xFFFFFF00U ); pPolyPoly->draw(); } -- cgit