Fix scaled tiled image rendering.

This commit is contained in:
Michael Drake 2012-08-22 22:29:18 +01:00
parent 4357f5e9d7
commit bc8fee46f7

View File

@ -414,9 +414,6 @@ static bool nsgtk_plot_bitmap(int x, int y, int width, int height,
return nsgtk_plot_pixbuf(x, y, width, height, bitmap, bg);
}
width = bitmap_get_width(bitmap);
height = bitmap_get_height(bitmap);
if (y > cliprect.y) {
doneheight = (cliprect.y - height) + ((y - cliprect.y) % height);
} else {