From 5d2767217167eaa2a5752c3487488d267b89ada7 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Wed, 10 Mar 2004 11:22:57 +0000 Subject: [project @ 2004-03-10 11:22:57 by rjw] Quick hack until Tinct accepts OS units for scaling. svn path=/import/netsurf/; revision=604 --- riscos/png.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscos') diff --git a/riscos/png.c b/riscos/png.c index be63b24d7..5c1f0d14a 100644 --- a/riscos/png.c +++ b/riscos/png.c @@ -249,7 +249,7 @@ void nspng_redraw(struct content *c, long x, long y, _swix(Tinct_PlotScaledAlpha, _IN(2) | _IN(3) | _IN(4) | _IN(5) | _IN(6) | _IN(7), ((char *) c->data.png.sprite_area + c->data.png.sprite_area->first), x, (int)(y - height), - width, height, + width / 2, height / 2, // [hack until Tinct is fixed] - rjw (option_filter_sprites?0:(1<<1)) | (option_dither_sprites?0:(1<<2))); } #endif -- cgit v1.2.3