cc_item_tvpic.cpp: fix wrong parameter type

parameter is type int
This commit is contained in:
2019-04-05 21:52:53 +02:00
parent f387150bf1
commit bba8093f05

View File

@@ -101,7 +101,7 @@ void CComponentsPIP::paint(bool do_save_bg)
videoDecoder->Pig(pig_x, pig_y, pig_w, pig_h, screen_w, screen_h);
}
else{ //paint an alternate image if no tv mode available
CComponentsPicture pic = CComponentsPicture (pig_x, pig_y, pig_w, pig_h, pic_name, NULL, false, col_frame, col_frame);
CComponentsPicture pic = CComponentsPicture (pig_x, pig_y, pig_w, pig_h, pic_name, NULL, CC_SHADOW_OFF, col_frame, col_frame);
pic.doPaintBg(false);
int w, h;
pic.getSize(&w, &h);