diff --git a/src/raster_colorizer.cpp b/src/raster_colorizer.cpp index 2c43df6b6..c105b1199 100644 --- a/src/raster_colorizer.cpp +++ b/src/raster_colorizer.cpp @@ -129,20 +129,25 @@ void raster_colorizer::colorize(image_rgba8 & out, T const& in, { using image_type = T; using pixel_type = typename image_type::pixel_type; - // TODO: assuming in/out have the same width/height for now - std::uint32_t * out_data = out.data(); - pixel_type const* in_data = in.data(); - int len = out.width() * out.height(); - for (int i=0; i