summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apodtele@gmail.com>2016-06-08 23:31:28 -0400
committerAlexei Podtelezhnikov <apodtele@gmail.com>2016-06-08 23:31:28 -0400
commit77180c7adc8693d81f47634ebd00579d622d1e43 (patch)
tree2724e92e1c68935235665f5709762cea8b1c4700
parent9cf232ed668476361fb144d79a7e9e8d4debfb1f (diff)
downloadfreetype2-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--ChangeLog7
-rw-r--r--src/smooth/ftgrays.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4218d3a79..53d85e545 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
/*************************************************************************/
/* */