diff options
author | James Bursa <james@netsurf-browser.org> | 2004-10-17 21:16:00 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-10-17 21:16:00 +0000 |
commit | 511d66331f68815396aac6012d6787a5c1774d51 (patch) | |
tree | 21100f5dec38b303cb051d4baa3720e9de612514 /riscos/image.c | |
parent | ddaf4ab4d7f5df81bc97a08d124e3649fd5fe700 (diff) | |
download | netsurf-511d66331f68815396aac6012d6787a5c1774d51.tar.gz netsurf-511d66331f68815396aac6012d6787a5c1774d51.tar.bz2 |
[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
Diffstat (limited to 'riscos/image.c')
-rw-r--r-- | riscos/image.c | 6 |
1 files changed, 5 insertions, 1 deletions
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" : ""), |