Index: include/gpu/GrTypes.h |
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h |
index 22b2e224f6edd3dbe513adb6215d1502d569403a..1f5f9179b9ae768864be6d37d02c53dc30a34ad0 100644 |
--- a/include/gpu/GrTypes.h |
+++ b/include/gpu/GrTypes.h |
@@ -222,8 +222,10 @@ enum GrBlendCoeff { |
kConstA_GrBlendCoeff, //<! constant color alpha |
kIConstA_GrBlendCoeff, //<! one minus constant color alpha |
- kPublicGrBlendCoeffCount |
+ kFirstPublicGrBlendCoeff = kZero_GrBlendCoeff, |
+ kLastPublicGrBlendCoeff = kIConstA_GrBlendCoeff, |
}; |
+static const int kPublicGrBlendCoeffCount = kLastPublicGrBlendCoeff + 1; |
/** |
* Formats for masks, used by the font cache. |