Index: src/gpu/GrBufferedDrawTarget.cpp |
diff --git a/src/gpu/GrBufferedDrawTarget.cpp b/src/gpu/GrBufferedDrawTarget.cpp |
index 1abf8138014d3e69b3d75e416fdf95530084b98f..32111f5326aaf9ec3867dbadfa3aa43cce07db35 100644 |
--- a/src/gpu/GrBufferedDrawTarget.cpp |
+++ b/src/gpu/GrBufferedDrawTarget.cpp |
@@ -34,7 +34,7 @@ void GrBufferedDrawTarget::onDrawBatch(GrBatch* batch, |
return; |
} |
- GrTargetCommands::Cmd* cmd = fCommands->recordDrawBatch(state, batch); |
+ GrTargetCommands::Cmd* cmd = fCommands->recordDrawBatch(state, opts, batch); |
this->recordTraceMarkersIfNecessary(cmd); |
} |
@@ -190,8 +190,6 @@ GrBufferedDrawTarget::setupPipelineAndShouldDraw(GrBatch* batch, |
return NULL; |
} |
- batch->initBatchTracker(*opts); |
- |
if (fPrevState && !fPrevState->fPrimitiveProcessor.get() && |
fPrevState->getPipeline()->isEqual(*state->getPipeline())) { |
this->unallocState(state); |