summaryrefslogtreecommitdiff
path: root/riscos/png.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2004-03-12 00:59:02 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2004-03-12 00:59:02 +0000
commitc6d83f229e17c117e2af97feb086413b802bf5f9 (patch)
treea4c615e03cdd1511fc263f94d256dada981e0826 /riscos/png.c
parent7fcad102667f670018d64aeafa13716ed2e2c53a (diff)
downloadnetsurf-c6d83f229e17c117e2af97feb086413b802bf5f9.tar.gz
netsurf-c6d83f229e17c117e2af97feb086413b802bf5f9.tar.bz2
[project @ 2004-03-12 00:59:02 by rjw]
Removed hack to convert pixels to OS units as Tinct now accepts OS units in its parameters. svn path=/import/netsurf/; revision=609
Diffstat (limited to 'riscos/png.c')
-rw-r--r--riscos/png.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/png.c b/riscos/png.c
index 73d581dc5..988e39704 100644
--- a/riscos/png.c
+++ b/riscos/png.c
@@ -234,7 +234,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 / 2, height / 2, // [hack until Tinct is fixed] - rjw
+ width, height,
(option_filter_sprites?0:(1<<1)) | (option_dither_sprites?0:(1<<2)));
}
#endif