fixed minor bug in the smooth renderer which forced

the span callback to be called with y == -1 and count == 0
This commit is contained in:
David Turner 2000-09-17 17:17:16 +00:00
parent 426984e47b
commit b71c6af028
1 changed files with 1 additions and 1 deletions

View File

@ -1320,7 +1320,7 @@
if ( ras.span_y != y || count >= FT_MAX_GRAY_SPANS )
{
if ( ras.render_span )
if ( ras.render_span && count > 0 )
ras.render_span( ras.span_y, count, ras.gray_spans,
ras.render_span_data );
/* ras.render_span( span->y, ras.gray_spans, count ); */