diff options
author | Alexei Podtelezhnikov <apodtele@gmail.com> | 2016-06-08 23:31:28 -0400 |
---|---|---|
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | 2016-06-08 23:31:28 -0400 |
commit | 77180c7adc8693d81f47634ebd00579d622d1e43 (patch) | |
tree | 2724e92e1c68935235665f5709762cea8b1c4700 | |
parent | 9cf232ed668476361fb144d79a7e9e8d4debfb1f (diff) | |
download | freetype2-77180c7adc8693d81f47634ebd00579d622d1e43.tar.gz |
[smooth] Re-enable new line renderer on 64-bit archs.
* src/smooth/ftgrays (gray_render_line): Conditionally re-enable new
implementation, where it is safe from overflows.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/smooth/ftgrays.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,12 @@ 2016-06-08 Alexei Podtelezhnikov <apodtele@gmail.com> + [smooth] Re-enable new line renderer on 64-bit archs. + + * src/smooth/ftgrays (gray_render_line): Conditionally re-enable new + implementation, where it is safe from overflows. + +2016-06-08 Alexei Podtelezhnikov <apodtele@gmail.com> + [smooth] Minor clean-ups. * src/smooth/ftgrays.c (gray_dump_cells): Move out of the way. diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c index 8aad262cb..efa5f94fa 100644 --- a/src/smooth/ftgrays.c +++ b/src/smooth/ftgrays.c @@ -694,7 +694,7 @@ typedef ptrdiff_t FT_PtrDist; gray_set_cell( RAS_VAR_ ex, ey ); } -#if 1 +#ifndef FT_LONG64 /*************************************************************************/ /* */ |