From fa17f0bdb0532f762b53715da31ca1ac62e8900d Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 26 Jan 2015 21:44:25 -0800 Subject: [PATCH] actually src needs to be non-const --- bindings/python/mapnik_image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/mapnik_image.cpp b/bindings/python/mapnik_image.cpp index 4b8e3485a..a7142e699 100644 --- a/bindings/python/mapnik_image.cpp +++ b/bindings/python/mapnik_image.cpp @@ -239,7 +239,7 @@ void clear(image_any & im) mapnik::fill(im, 0); } -void composite(image_any & dst, image_any const& src, mapnik::composite_mode_e mode, float opacity, int dx, int dy) +void composite(image_any & dst, image_any & src, mapnik::composite_mode_e mode, float opacity, int dx, int dy) { bool demultiply_dst = mapnik::premultiply_alpha(dst); bool demultiply_src = mapnik::premultiply_alpha(src);