From 006344401cfaedda64387fd59c1626b71cb178d6 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 15 Aug 2004 19:06:24 +0000 Subject: [project @ 2004-08-15 19:06:23 by jmb] Rationalise image redraw. Supply background colour when redrawing contents Reenable printing of background images Require Tinct 0.07 svn path=/import/netsurf/; revision=1234 --- riscos/thumbnail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'riscos/thumbnail.c') diff --git a/riscos/thumbnail.c b/riscos/thumbnail.c index 60c412c0f..2c0953113 100644 --- a/riscos/thumbnail.c +++ b/riscos/thumbnail.c @@ -105,7 +105,7 @@ void thumbnail_create(struct content *content, osspriteop_area *area, (osspriteop_header *)(oversampled_area + 1)); if (save_area == NULL) return; content_redraw(content, 0, height * 2, width * 2, height * 2, - 0, 0, width * 2, height * 2, scale); + 0, 0, width * 2, height * 2, scale, 0xFFFFFF); thumbnail_restore_output(save_area); /* Scale back @@ -152,7 +152,7 @@ void thumbnail_create(struct content *content, osspriteop_area *area, os_ACTION_OVERWRITE, 0); os_clg(); content_redraw(content, 0, height * 2, width * 2, height * 2, - 0, 0, width * 2, height * 2, scale); + 0, 0, width * 2, height * 2, scale, 0xFFFFFF); thumbnail_restore_output(save_area); } } -- cgit v1.2.3