From bc8fee46f73307aba2f567ec1e35bd187b706eb8 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 22 Aug 2012 22:29:18 +0100 Subject: Fix scaled tiled image rendering. --- gtk/plotters.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'gtk') diff --git a/gtk/plotters.c b/gtk/plotters.c index fbf3d58ac..3af55b9d5 100644 --- a/gtk/plotters.c +++ b/gtk/plotters.c @@ -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 { -- cgit v1.2.3