From 8365d4878779449a609754486f4a50bd30ac8649 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Sat, 13 Mar 2004 17:30:56 +0000 Subject: [PATCH] [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 --- riscos/gif.c | 8 ++++---- 1 file 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;