mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
remove duplicate calculation of image_ratio
This commit is contained in:
parent
0b8439c8d2
commit
48c23f27dc
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user