diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2012-03-16 10:02:18 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-03-16 17:02:22 +0100 |
commit | b9266113514657be1cf9352e1457a5c62876784c (patch) | |
tree | c75fa14cb7f1bc690d30751f361ee73315dd0a0a | |
parent | e86bcf11340f35afe899d02aa5facdbecdd309ab (diff) |
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.
-rw-r--r-- | slideshow/source/engine/slideview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |