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;