aboutsummaryrefslogtreecommitdiffstats
path: root/include/config/SkUserConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/config/SkUserConfig.h')
-rw-r--r--include/config/SkUserConfig.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/config/SkUserConfig.h b/include/config/SkUserConfig.h
index 13169ca..aa2e6cf 100644
--- a/include/config/SkUserConfig.h
+++ b/include/config/SkUserConfig.h
@@ -141,5 +141,14 @@
//#define SK_SUPPORT_UNITTEST
#endif
+/* Change the ordering to work in X windows.
+ */
+#ifdef SK_SAMPLES_FOR_X
+ #define SK_R32_SHIFT 16
+ #define SK_G32_SHIFT 8
+ #define SK_B32_SHIFT 0
+ #define SK_A32_SHIFT 24
+#endif
+
#endif