From 511d66331f68815396aac6012d6787a5c1774d51 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sun, 17 Oct 2004 21:16:00 +0000 Subject: [project @ 2004-10-17 21:16:00 by bursa] Move to use plotters. Replace html.layout->children with html.layout. svn path=/import/netsurf/; revision=1318 --- riscos/image.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'riscos/image.c') diff --git a/riscos/image.c b/riscos/image.c index 67775f980..e0b06b6ca 100644 --- a/riscos/image.c +++ b/riscos/image.c @@ -47,6 +47,10 @@ bool image_redraw(osspriteop_area *area, int x, int y, int req_width, unsigned long background_colour, bool repeatx, bool repeaty,image_type type) { + req_width *= 2; + req_height *= 2; + width *= 2; + height *= 2; switch (type) { case IMAGE_PLOT_TINCT_ALPHA: return image_redraw_tinct(area, x, y, @@ -127,7 +131,7 @@ bool image_redraw_tinct(osspriteop_area *area, int x, int y, error = _swix(Tinct_PlotScaled, _INR(2,7), (char*)area + area->first, x, y - req_height, req_width, req_height, tinct_options); - } + } if (error) { LOG(("xtinct_plotscaled%s: 0x%x: %s", (alpha ? "alpha" : ""), -- cgit v1.2.3