Index: src/gpu/effects/GrDashingEffect.cpp |
diff --git a/src/gpu/effects/GrDashingEffect.cpp b/src/gpu/effects/GrDashingEffect.cpp |
index 0b84c2cffb33cd3959523a1c12373ce6369a0ba4..afeff437f127c6ef1efe129604bdb906f7387dcf 100644 |
--- a/src/gpu/effects/GrDashingEffect.cpp |
+++ b/src/gpu/effects/GrDashingEffect.cpp |
@@ -513,8 +513,8 @@ bool GrDashingEffect::DrawDashLine(GrGpu* gpu, GrDrawTarget* target, |
} |
target->setIndexSourceToBuffer(gpu->getContext()->getQuadIndexBuffer()); |
- target->drawIndexedInstances(pipelineBuilder, gp, kTriangles_GrPrimitiveType, |
- totalRectCnt, 4, 6); |
+ target->drawIndexedInstances(pipelineBuilder, gp, kTriangles_GrPrimitiveType, totalRectCnt, |
+ 4, 6); |
target->resetIndexSource(); |
return true; |
} |