diff options
author | Alexei Podtelezhnikov <apodtele@gmail.com> | 2020-08-28 23:08:42 -0400 |
---|---|---|
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | 2020-08-28 23:08:42 -0400 |
commit | 16ee2a22abb642a310dcbf08accf70b1c38e3181 (patch) | |
tree | 3c8f66fee37559693bc85bbe27ec573d6057c4b7 /src/smooth | |
parent | d8228a00704d7932bd54a87dc5b69561ac7ba594 (diff) | |
download | freetype2-16ee2a22abb642a310dcbf08accf70b1c38e3181.tar.gz |
[smooth] Don't set target in direct mode.
* src/smooth/ftsmooth.c (ft_smooth_raster_overlap): Remove assignment.
(ft_smooth_raster_lcd) [!FT_CONFIG_OPTION_SUBPIXEL_RENDERING]: Ditto.
Diffstat (limited to 'src/smooth')
-rw-r--r-- | src/smooth/ftsmooth.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/smooth/ftsmooth.c b/src/smooth/ftsmooth.c index eb5928f6f..5d66bd6fc 100644 --- a/src/smooth/ftsmooth.c +++ b/src/smooth/ftsmooth.c @@ -139,7 +139,6 @@ /* Render 3 separate coverage bitmaps, shifting the outline. */ /* Set up direct rendering to record them on each third byte. */ - params.target = bitmap; params.source = outline; params.flags = FT_RASTER_FLAG_AA | FT_RASTER_FLAG_DIRECT; params.gray_spans = (FT_SpanFunc)ft_smooth_lcd_spans; @@ -385,7 +384,6 @@ return FT_THROW( Raster_Overflow ); /* Set up direct rendering to average oversampled spans. */ - params.target = bitmap; params.source = outline; params.flags = FT_RASTER_FLAG_AA | FT_RASTER_FLAG_DIRECT; params.gray_spans = (FT_SpanFunc)ft_smooth_overlap_spans; |