Index: src/gpu/GrRectBatch.cpp |
diff --git a/src/gpu/GrRectBatch.cpp b/src/gpu/GrRectBatch.cpp |
index 116643d31643916ef566af25c356bd6923f5bbba..100aafc4ca2690343575da4ad93fc92870b5d257 100644 |
--- a/src/gpu/GrRectBatch.cpp |
+++ b/src/gpu/GrRectBatch.cpp |
@@ -31,11 +31,9 @@ static const GrGeometryProcessor* create_rect_gp(bool hasExplicitLocalCoords, |
GrDefaultGeoProcFactory::kColor_GPType; |
flags |= hasExplicitLocalCoords ? GrDefaultGeoProcFactory::kLocalCoord_GPType : 0; |
if (localMatrix) { |
- return GrDefaultGeoProcFactory::Create(flags, color, SkMatrix::I(), *localMatrix, |
- GrColorIsOpaque(color)); |
+ return GrDefaultGeoProcFactory::Create(flags, color, SkMatrix::I(), *localMatrix); |
} else { |
- return GrDefaultGeoProcFactory::Create(flags, color, SkMatrix::I(), SkMatrix::I(), |
- GrColorIsOpaque(color)); |
+ return GrDefaultGeoProcFactory::Create(flags, color, SkMatrix::I(), SkMatrix::I()); |
} |
} |