From d93029c73b2701ab00eca8d82e5e59b925fe240e Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 4 Feb 2020 22:17:59 +0100 Subject: [PATCH] cc_draw: ensure paint no transparent background at black image parts Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/99c20a872a3e75916e3c588974e8570d0a4c0f8b Author: Thilo Graf Date: 2020-02-04 (Tue, 04 Feb 2020) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/components/cc_draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_draw.cpp b/src/gui/components/cc_draw.cpp index 674e64aa3..a8a8efc82 100644 --- a/src/gui/components/cc_draw.cpp +++ b/src/gui/components/cc_draw.cpp @@ -617,7 +617,7 @@ void CCDraw::paintFbItems(const bool &do_save_bg) * Paint of background image is prefered, next steps will be ignored! */ if (!cc_body_image.empty()){ - if (g_PicViewer->DisplayImage(cc_body_image, v_fbdata.at(i).x, v_fbdata.at(i).y, v_fbdata.at(i).dx, v_fbdata.at(i).dy)){ + if (g_PicViewer->DisplayImage(cc_body_image, v_fbdata.at(i).x, v_fbdata.at(i).y, v_fbdata.at(i).dx, v_fbdata.at(i).dy, CFrameBuffer::TM_NONE)){ // catch screen and store into paint cache v_fbdata.at(i).pixbuf = getScreen(v_fbdata.at(i).x, v_fbdata.at(i).y, v_fbdata.at(i).dx, v_fbdata.at(i).dy); v_fbdata.at(i).is_painted = true;