diff options
-rw-r--r-- | src/core/SkScan_Path.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/SkScan_Path.cpp b/src/core/SkScan_Path.cpp index a04a2f3c93..bf747b7a1a 100644 --- a/src/core/SkScan_Path.cpp +++ b/src/core/SkScan_Path.cpp @@ -17,8 +17,9 @@ #include "SkTemplates.h" #include "SkTSort.h" -// undefine this to get faster inline sort -#define SK_USE_STD_SORT_FOR_EDGES +#ifdef SK_USE_LEGACY_AA_COVERAGE + #define SK_USE_STD_SORT_FOR_EDGES +#endif #define kEDGE_HEAD_Y SK_MinS32 #define kEDGE_TAIL_Y SK_MaxS32 |