diff options
Diffstat (limited to 'include/effects/SkLayerDrawLooper.h')
-rw-r--r-- | include/effects/SkLayerDrawLooper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/effects/SkLayerDrawLooper.h b/include/effects/SkLayerDrawLooper.h index e1fae57cb8..c3ab241607 100644 --- a/include/effects/SkLayerDrawLooper.h +++ b/include/effects/SkLayerDrawLooper.h @@ -66,7 +66,9 @@ public: * kDst_Mode: to just keep the draw's color, ignoring the layer's */ struct SK_API LayerInfo { +#ifdef SK_SUPPORT_LEGACY_LAYERDRAWLOOPER_PAINTFLAGS uint32_t fFlagsMask; // SkPaint::Flags +#endif BitFlags fPaintBits; SkXfermode::Mode fColorMode; SkVector fOffset; |