Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
FreeType
FreeType
Commits
ac1c157d
Commit
ac1c157d
authored
Sep 17, 2000
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/smooth/ftgrays.c
View file @
ac1c157d
...
...
@@ -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 ); */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment