Index: src/gpu/GrBatchFlushState.h |
diff --git a/src/gpu/GrBatchFlushState.h b/src/gpu/GrBatchFlushState.h |
index 2008fa69ebfc44fd014943f5292ae9a01f4f324a..fc879daa07b8eea2dd4219cf875b16d41eac6af9 100644 |
--- a/src/gpu/GrBatchFlushState.h |
+++ b/src/gpu/GrBatchFlushState.h |
@@ -161,9 +161,10 @@ class GrVertexBatch::Target : public GrDrawBatch::Target { |
public: |
Target(GrBatchFlushState* state, GrVertexBatch* batch) : INHERITED(state, batch) {} |
- void initDraw(const GrPrimitiveProcessor* primProc, const GrPipeline* pipeline) { |
+ void initDraw(const GrPrimitiveProcessor* primProc, GrPrimitiveType primitiveType) { |
GrVertexBatch::DrawArray* draws = this->vertexBatch()->fDrawArrays.addToTail(); |
draws->fPrimitiveProcessor.reset(primProc); |
+ draws->fPrimitiveType = primitiveType; |
this->state()->advanceToken(); |
} |