From 3f7002c7d6c1c14b823e05790b1901c02d11a5a1 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 4 Feb 2020 18:02:24 +0100 Subject: [PATCH] cc_draw: ensure paint no transparent background at black image parts --- 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;