summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2012-03-16 10:02:18 +0100
committerTor Lillqvist <tlillqvist@suse.com>2012-03-19 08:37:58 +0200
commit6f7a003ef738e3b11ff8d577c2b350b50d416235 (patch)
tree69642322b0d07a4b09ce1096c52be52c71d12510
parent047f6738d045ef94112ed45ed2eabb73e5e07111 (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. (cherry picked from commit b9266113514657be1cf9352e1457a5c62876784c) Signed-off-by: Tor Lillqvist <tlillqvist@suse.com>
-rw-r--r--slideshow/source/engine/slideview.cxx2
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();
}