Kaydet (Commit) b9266113 authored tarafından Thorsten Behrens's avatar Thorsten Behrens

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.
üst e86bcf11
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment