changeset 1878:11850512dbdd

rt_tile_render cleanup part 3
author Vladimir Nadvornik <nadvornik@suse.cz>
date Fri, 28 Jan 2011 13:13:27 +0100
parents 24e8e78cd581
children 880d06578486
files src/renderer-tiles.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/renderer-tiles.c	Fri Jan 28 13:05:14 2011 +0100
+++ b/src/renderer-tiles.c	Fri Jan 28 13:13:27 2011 +0100
@@ -1336,7 +1336,7 @@
 		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,