merge with dev

This commit is contained in:
Desmis
2019-03-20 07:41:42 +01:00
4 changed files with 13 additions and 3 deletions

View File

@@ -1240,7 +1240,7 @@ void OPIcon::drawImage(Cairo::RefPtr<RTSurface> &img,
rtengine::Coord tl, br; // Coordinate of the rectangle in the CropBuffer coordinate system
drivenPointToRectangle (pos, tl, br, imgW, imgH);
cr->set_source(img->surface, tl.x, tl.y);
cr->set_source(img->get(), tl.x, tl.y);
cr->set_line_width (0.);
cr->rectangle (tl.x, tl.y, imgW, imgH);
cr->fill();