remove duplicate calculation of image_ratio

This commit is contained in:
Dane Springmeyer 2014-08-24 19:21:54 -07:00
parent 0b8439c8d2
commit 48c23f27dc

View file

@ -111,8 +111,6 @@ void render_raster_symbolizer(raster_symbolizer const &sym,
else
{
raster target(target_ext, raster_width, raster_height, source->get_filter_factor());
double image_ratio_x = ext.width() / source->data_.width();
double image_ratio_y = ext.height() / source->data_.height();
scale_image_agg<image_data_32>(target.data_,
source->data_,
scaling_method,