Index: include/core/SkPostConfig.h |
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h |
index d513d20633a9433e7eaaa8d77102db82838c0821..ec17b65353b57f623706c27cd4e6b38f88eb437b 100644 |
--- a/include/core/SkPostConfig.h |
+++ b/include/core/SkPostConfig.h |
@@ -411,6 +411,15 @@ |
# endif |
#endif |
+////////////////////////////////////////////////////////////////////// |
+ |
+#ifndef SK_EGL |
+# if defined(SK_BUILD_FOR_ANDROID) || defined(SK_BUILD_FOR_NACL) |
+# define SK_EGL 1 |
+# else |
+# define SK_EGL 0 |
+# endif |
+#endif |
////////////////////////////////////////////////////////////////////// |