Index: src/gpu/GrOptDrawState.cpp |
diff --git a/src/gpu/GrOptDrawState.cpp b/src/gpu/GrOptDrawState.cpp |
index 8d28f446b27912d2d6e6687ef54485a73a93e326..a11100711486490f9b586bc317c3abb4cb6ec050 100644 |
--- a/src/gpu/GrOptDrawState.cpp |
+++ b/src/gpu/GrOptDrawState.cpp |
@@ -17,10 +17,7 @@ GrOptDrawState::GrOptDrawState(const GrDrawState& drawState, |
const GrPrimitiveProcessor* primProc, |
const GrDrawTargetCaps& caps, |
const GrScissorState& scissorState, |
- const GrDeviceCoordTexture* dstCopy, |
- GrGpu::DrawType drawType) { |
- fDrawType = drawType; |
- |
+ const GrDeviceCoordTexture* dstCopy) { |
const GrProcOptInfo& colorPOI = drawState.colorProcInfo(primProc); |
const GrProcOptInfo& coveragePOI = drawState.coverageProcInfo(primProc); |
@@ -145,7 +142,6 @@ bool GrOptDrawState::isEqual(const GrOptDrawState& that) const { |
this->fFragmentStages.count() != that.fFragmentStages.count() || |
this->fNumColorStages != that.fNumColorStages || |
this->fScissorState != that.fScissorState || |
- this->fDrawType != that.fDrawType || |
this->fFlags != that.fFlags || |
this->fStencilSettings != that.fStencilSettings || |
this->fDrawFace != that.fDrawFace || |