Index: src/gpu/GrProcOptInfo.h |
diff --git a/src/gpu/GrProcOptInfo.h b/src/gpu/GrProcOptInfo.h |
index 059bca4dd8b8762b9879e95eb7c2d90844f0dd98..f518172e221ec09d54c8c2863d83267fd33e1436 100644 |
--- a/src/gpu/GrProcOptInfo.h |
+++ b/src/gpu/GrProcOptInfo.h |
@@ -54,7 +54,10 @@ public: |
fInOut.isLCDCoverage(); } |
GrColor color() const { return fInOut.color(); } |
- uint8_t validFlags() const { return fInOut.validFlags(); } |
+ |
+ GrColorComponentFlags validFlags() const { |
+ return static_cast<GrColorComponentFlags>(fInOut.validFlags()); |
+ } |
/** |
* Returns the index of the first effective color stage. If an intermediate stage doesn't read |