Index: src/gpu/GrTargetCommands.cpp |
diff --git a/src/gpu/GrTargetCommands.cpp b/src/gpu/GrTargetCommands.cpp |
index 9585b655a3050050ee3309b3b803780cfd390e21..3096e27692cb6b3b9810beae1e4d1da9357de53b 100644 |
--- a/src/gpu/GrTargetCommands.cpp |
+++ b/src/gpu/GrTargetCommands.cpp |
@@ -27,7 +27,7 @@ void GrTargetCommands::flush(GrBufferedDrawTarget* bufferedDrawTarget) { |
if (Cmd::kDrawBatch_CmdType == genIter->type()) { |
DrawBatch* db = reinterpret_cast<DrawBatch*>(genIter.get()); |
fBatchTarget.resetNumberOfDraws(); |
- db->fBatch->generateGeometry(&fBatchTarget, db->fState->getPipeline()); |
+ db->fBatch->generateGeometry(&fBatchTarget); |
db->fBatch->setNumberOfDraws(fBatchTarget.numberOfDraws()); |
} |
} |