Commit ac1c157d authored by David Turner's avatar David Turner
Browse files

fixed minor bug in the smooth renderer which forced

the span callback to be called with y == -1 and count == 0
parent 05b3a9d6
......@@ -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 ); */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment