summaryrefslogtreecommitdiff
path: root/gtk/plotters.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-08-22 22:29:18 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-08-22 22:29:18 +0100
commitbc8fee46f73307aba2f567ec1e35bd187b706eb8 (patch)
tree9b1e9f9ad58af61d593e64c1c670da04e891c9e5 /gtk/plotters.c
parent4357f5e9d72b0f4efe939e02a7012fc60d43095d (diff)
downloadnetsurf-bc8fee46f73307aba2f567ec1e35bd187b706eb8.tar.gz
netsurf-bc8fee46f73307aba2f567ec1e35bd187b706eb8.tar.bz2
Fix scaled tiled image rendering.
Diffstat (limited to 'gtk/plotters.c')
-rw-r--r--gtk/plotters.c3
1 files changed, 0 insertions, 3 deletions
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 {