@@ -340,7 +340,7 @@ mapcache_image* mapcache_tileset_assemble_map_tiles(mapcache_context *ctx, mapca
340340 } else {
341341 switch (mode ) {
342342 case MAPCACHE_RESAMPLE_BILINEAR :
343- mapcache_image_copy_resampled_bilinear (ctx ,srcimage ,image ,dstminx ,dstminy ,hf ,vf );
343+ mapcache_image_copy_resampled_bilinear (ctx ,srcimage ,image ,dstminx ,dstminy ,hf ,vf , 0 );
344344 break ;
345345 default :
346346 mapcache_image_copy_resampled_nearest (ctx ,srcimage ,image ,dstminx ,dstminy ,hf ,vf );
@@ -691,7 +691,7 @@ void mapcache_tileset_assemble_out_of_zoom_tile(mapcache_context *ctx, mapcache_
691691 * ctx->log(ctx, MAPCACHE_DEBUG, "factor: %g. start: %g,%g (im size: %g)",scalefactor,dstminx,dstminy,scalefactor*256);
692692 */
693693 if (scalefactor <= tile -> grid_link -> grid -> tile_sx /2 ) /*FIXME: might fail for non-square tiles, also check tile_sy */
694- mapcache_image_copy_resampled_bilinear (ctx ,childtile -> raw_image ,tile -> raw_image ,dstminx ,dstminy ,scalefactor ,scalefactor );
694+ mapcache_image_copy_resampled_bilinear (ctx ,childtile -> raw_image ,tile -> raw_image ,dstminx ,dstminy ,scalefactor ,scalefactor , 1 );
695695 else {
696696 /* no use going through bilinear resampling if the requested scalefactor maps less than 4 pixels onto the
697697 * resulting tile, plus pixman has some rounding bugs in this case, see
0 commit comments