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
4564ca8a
Commit
4564ca8a
authored
Oct 03, 2000
by
David Turner
Browse files
small fix:
when in direct rendering mode, the target bitmap buffer is not checked..
parent
3c491067
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/smooth/ftgrays.c
View file @
4564ca8a
...
...
@@ -1854,7 +1854,7 @@
return
ErrRaster_Invalid_Outline
;
/* if direct mode is not set, we must have a target bitmap */
if
(
(
params
->
flags
&
ft_raster_flag_direct
==
0
)
&&
if
(
(
params
->
flags
&
ft_raster_flag_direct
)
==
0
&&
(
!
target_map
||
!
target_map
->
buffer
)
)
return
-
1
;
...
...
@@ -1868,8 +1868,6 @@
if
(
target_map
)
ras
.
target
=
*
target_map
;
else
ras
.
target
=
0
;
ras
.
render_span
=
(
FT_Raster_Span_Func
)
grays_render_span
;
ras
.
render_span_data
=
&
ras
;
...
...
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