Werner,

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?

Thank you,
Alexei

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

Reply via email to