Index: src/gpu/GrAAConvexPathRenderer.cpp |
diff --git a/src/gpu/GrAAConvexPathRenderer.cpp b/src/gpu/GrAAConvexPathRenderer.cpp |
index 5d461ab3ed5fef6c65e8f8447c01de38ba998de1..408fcb541f9232d9d37e5262e33d344624688907 100644 |
--- a/src/gpu/GrAAConvexPathRenderer.cpp |
+++ b/src/gpu/GrAAConvexPathRenderer.cpp |
@@ -637,12 +637,6 @@ bool GrAAConvexPathRenderer::onDrawPath(const SkPath& origPath, |
drawState->setVertexAttribs<gPathAttribs>(SK_ARRAY_COUNT(gPathAttribs)); |
- enum { |
- // the edge effects share this stage with glyph rendering |
- // (kGlyphMaskStage in GrTextContext) && SW path rendering |
- // (kPathMaskStage in GrSWMaskHelper) |
- kEdgeEffectStage = GrPaint::kTotalStages, |
- }; |
static const int kEdgeAttrIndex = 1; |
GrEffectRef* quadEffect = QuadEdgeEffect::Create(); |
drawState->addCoverageEffect(quadEffect, kEdgeAttrIndex)->unref(); |