aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPostConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkPostConfig.h')
-rw-r--r--include/core/SkPostConfig.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h
index 3a39f66c8f..ce81904452 100644
--- a/include/core/SkPostConfig.h
+++ b/include/core/SkPostConfig.h
@@ -89,6 +89,12 @@
# define SK_SUPPORT_GPU 1
#endif
+#if !defined(SK_SUPPORT_ATLAS_TEXT)
+# define SK_SUPPORT_ATLAS_TEXT 0
+#elif SK_SUPPORT_ATLAS_TEXT && !SK_SUPPORT_GPU
+# error "SK_SUPPORT_ATLAS_TEXT requires SK_SUPPORT_GPU"
+#endif
+
/**
* The clang static analyzer likes to know that when the program is not
* expected to continue (crash, assertion failure, etc). It will notice that