> I was working on streamlining the banding of smooth rasterizer when I
> saw this ftgrays.c:2000:
> 
>         if ( bottom-top >= ras.band_size )
>           ras.band_shoot++;
> 
> bottom-top is negative, band_size is always positive. band_shoot could
> never grow from zero. Whatever is at the bottom of the function
> ftgrays.c:2011 never happens. The bottom line is that it seems that
> the whole stuff around band_shoot is not needed.
> 
> Can I remove the broken band_shoot?

Please proceed!  I don't know the details of the smooth rasterizer, so
I think you are the one who can decide this best.


    Werner

_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to