rt_tile_render cleanup part 3
authorVladimir Nadvornik <nadvornik@suse.cz>
Fri, 28 Jan 2011 12:13:27 +0000 (13:13 +0100)
committerVladimir Nadvornik <nadvornik@suse.cz>
Tue, 27 Sep 2011 12:28:51 +0000 (14:28 +0200)
src/renderer-tiles.c

index 3f7bae9..8b19956 100644 (file)
@@ -1336,7 +1336,7 @@ static void rt_tile_render(RendererTiles *rt, ImageTile *it,
                scale_y = (gdouble)pr->height / pr->image_height;
 
                pr_tile_coords_map_orientation(pr->orientation, it->x, it->y,
-                                           pr->image_width * scale_x, pr->image_height * scale_y,
+                                           pr->width, pr->height,
                                            rt->tile_width, rt->tile_height,
                                            &src_x, &src_y);
                pr_tile_region_map_orientation(pr->orientation, x, y,