Index: src/gpu/GrInOrderDrawBuffer.cpp |
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp |
index 2a2b5b6912d77bfda3cc8340d443ae614ac10215..0b4dab1c2ce2ebd7c5c41e0af065bb0436bc68c3 100644 |
--- a/src/gpu/GrInOrderDrawBuffer.cpp |
+++ b/src/gpu/GrInOrderDrawBuffer.cpp |
@@ -157,8 +157,8 @@ GrInOrderDrawBuffer::setupPipelineAndShouldDraw(const GrPrimitiveProcessor* prim |
return NULL; |
} |
- state->fPrimitiveProcessor->initBatchTracker(&state->fBatchTracker, |
- state->getPipeline()->getInitBatchTracker()); |
+ state->fPrimitiveProcessor->initBatchTracker( |
+ &state->fBatchTracker, state->getPipeline()->infoForPrimitiveProcessor()); |
if (fPrevState && fPrevState->fPrimitiveProcessor.get() && |
fPrevState->fPrimitiveProcessor->canMakeEqual(fPrevState->fBatchTracker, |
@@ -186,7 +186,7 @@ GrInOrderDrawBuffer::setupPipelineAndShouldDraw(GrBatch* batch, |
return NULL; |
} |
- batch->initBatchTracker(state->getPipeline()->getInitBatchTracker()); |
+ batch->initBatchTracker(state->getPipeline()->infoForPrimitiveProcessor()); |
if (fPrevState && !fPrevState->fPrimitiveProcessor.get() && |
fPrevState->getPipeline()->isEqual(*state->getPipeline())) { |