Index: third_party/libpng/pnglibconf.h |
diff --git a/third_party/libpng/pnglibconf.h b/third_party/libpng/pnglibconf.h |
index 0dcf6df85657c1ee80ff2c85a51c47038bdbae15..3ba831479ce28115c236f2c081912d26797df669 100644 |
--- a/third_party/libpng/pnglibconf.h |
+++ b/third_party/libpng/pnglibconf.h |
@@ -211,6 +211,9 @@ |
/* custom settings */ |
#define PNG_ARM_NEON_API_SUPPORTED |
#define PNG_ARM_NEON_CHECK_SUPPORTED |
+#if defined(__SSE2__) |
+ #define PNG_FILTER_OPTIMIZATIONS sk_png_init_filter_functions_sse2 |
+#endif |
/* end of custom settings */ |
#endif /* PNGLCONF_H */ |