[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
This commit is contained in:
Richard Wilson 2004-03-13 17:30:56 +00:00
parent 42c35f165f
commit 8365d48787

View File

@ -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, long clip_x0, long clip_y0, long clip_x1, long clip_y1,
float scale) float scale)
{ {
/* Tinct currently only handles 32bpp sprites that have an embedded alpha mask. Any /* Tinct currently only handles 32bpp sprites that have an embedded alpha mask. Any
sprites not matching the required specifications are ignored. See the Tinct sprites not matching the required specifications are ignored. See the Tinct
documentation for further information. documentation for further information.
*/ */
/* _swix(Tinct_PlotScaledAlpha, _IN(2) | _IN(3) | _IN(4) | _IN(5) | _IN(6) | _IN(7), _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), ((char *) c->data.png.sprite_area + c->data.png.sprite_area->first),
x, (int)(y - height), x, (int)(y - height),
width, 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; unsigned int size;
osspriteop_trans_tab *table; osspriteop_trans_tab *table;