diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2004-03-13 17:30:56 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2004-03-13 17:30:56 +0000 |
commit | 8365d4878779449a609754486f4a50bd30ac8649 (patch) | |
tree | 1ed38eee86cbeb8aa232744652e61aa3ceabfda7 | |
parent | 42c35f165f95f6cd9db9cf981a49bc0fa9c40647 (diff) | |
download | netsurf-8365d4878779449a609754486f4a50bd30ac8649.tar.gz netsurf-8365d4878779449a609754486f4a50bd30ac8649.tar.bz2 |
[project @ 2004-03-13 17:30:56 by rjw]
Fixed (currently commented out) inversion of the dithering and filtering flags when plotting with Tinct.
svn path=/import/netsurf/; revision=614
-rw-r--r-- | riscos/gif.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/riscos/gif.c b/riscos/gif.c index 70d6e23a6..ac48944bb 100644 --- a/riscos/gif.c +++ b/riscos/gif.c @@ -121,16 +121,16 @@ void nsgif_redraw(struct content *c, long x, long y, long clip_x0, long clip_y0, long clip_x1, long clip_y1, float scale) { + /* Tinct currently only handles 32bpp sprites that have an embedded alpha mask. Any sprites not matching the required specifications are ignored. See the Tinct documentation for further information. */ -/* _swix(Tinct_PlotScaledAlpha, _IN(2) | _IN(3) | _IN(4) | _IN(5) | _IN(6) | _IN(7), - ((char *) c->data.gif.sprite_area + c->data.gif.sprite_area->first), + _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, - (options_filter_sprites?0:(1<<1)) | (options_dither_sprites?0:(1<<2))); -*/ + (option_filter_sprites?(1<<1):0) | (option_dither_sprites?(1<<2):0)); unsigned int size; osspriteop_trans_tab *table; |