reverted patch which was committed by mistake

This commit is contained in:
Alberto Valverde 2011-05-12 18:11:16 +00:00
parent 0e0c4aa82c
commit d5dafdc2be

View file

@ -63,8 +63,6 @@ void agg_renderer<T>::process(raster_symbolizer const& sym,
if (sym.get_scaling() == "bilinear8"){ if (sym.get_scaling() == "bilinear8"){
scale_image_bilinear8<image_data_32>(target,raster->data_, err_offs_x, err_offs_y); scale_image_bilinear8<image_data_32>(target,raster->data_, err_offs_x, err_offs_y);
} else if (sym.get_scaling() == "bilinear_old") {
scale_image_bilinear_old<image_data_32>(target,raster->data_, err_offs_x, err_offs_y);
} else { } else {
scaling_method_e scaling_method = get_scaling_method_by_name(sym.get_scaling()); scaling_method_e scaling_method = get_scaling_method_by_name(sym.get_scaling());
scale_image_agg<image_data_32>(target,raster->data_, (scaling_method_e)scaling_method, scale_factor, err_offs_x, err_offs_y, sym.calculate_filter_factor()); scale_image_agg<image_data_32>(target,raster->data_, (scaling_method_e)scaling_method, scale_factor, err_offs_x, err_offs_y, sym.calculate_filter_factor());