Mercurial > hg > orthanc-stone
diff Framework/Widgets/WorldSceneWidget.cpp @ 560:aaeec7be8fb7
add support for alpha channel in CairoSurface
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 17 Apr 2019 17:57:50 +0200 |
parents | b70e9be013e4 |
children | 1201b12eb9f8 |
line wrap: on
line diff
--- a/Framework/Widgets/WorldSceneWidget.cpp Wed Apr 17 16:16:47 2019 +0200 +++ b/Framework/Widgets/WorldSceneWidget.cpp Wed Apr 17 17:57:50 2019 +0200 @@ -59,7 +59,7 @@ { if (tracker_->HasRender()) { - CairoSurface surface(target); + CairoSurface surface(target, false /* no alpha */); CairoContext context(surface); view_.ApplyTransform(context); tracker_->Render(context, view_.GetZoom());