Index: src/gpu/GrDrawState.h |
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h |
index 5575b12966de2066827d44b43ff5eea9ff034f0f..03af7b532f2504231e90ca0bd5782a36b8dbd13f 100644 |
--- a/src/gpu/GrDrawState.h |
+++ b/src/gpu/GrDrawState.h |
@@ -684,7 +684,10 @@ public: |
/// Hints that when provided can enable optimizations. |
//// |
- enum Hints { kVertexColorsAreOpaque_Hint = 0x1, }; |
+ enum Hints { |
+ kVertexColorsAreOpaque_Hint = 0x1, |
+ kLast_Hint = kVertexColorsAreOpaque_Hint |
+ }; |
void setHint(Hints hint, bool value) { fHints = value ? (fHints | hint) : (fHints & ~hint); } |