summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2004-03-10 11:22:57 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2004-03-10 11:22:57 +0000
commit5d2767217167eaa2a5752c3487488d267b89ada7 (patch)
treef9770699ba5f236aa9de3d55a594a0cb5389eb4c /riscos
parentaf083bf294fc13546a33996e4c45c1051d235408 (diff)
downloadnetsurf-5d2767217167eaa2a5752c3487488d267b89ada7.tar.gz
netsurf-5d2767217167eaa2a5752c3487488d267b89ada7.tar.bz2
[project @ 2004-03-10 11:22:57 by rjw]
Quick hack until Tinct accepts OS units for scaling. svn path=/import/netsurf/; revision=604
Diffstat (limited to 'riscos')
-rw-r--r--riscos/png.c2
1 files changed, 1 insertions, 1 deletions
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