Index: src/gpu/gl/GrGpuGL_program.cpp |
diff --git a/src/gpu/gl/GrGpuGL_program.cpp b/src/gpu/gl/GrGpuGL_program.cpp |
index a808aa8dda7ccf397006158b719f2f835b1eef92..19ddc769443cf196588aa4e9f9f1ff3250a15b80 100644 |
--- a/src/gpu/gl/GrGpuGL_program.cpp |
+++ b/src/gpu/gl/GrGpuGL_program.cpp |
@@ -213,9 +213,6 @@ bool GrGpuGL::flushGraphicsState(const GrOptDrawState& optState) { |
} else { |
this->flushMiscFixedFunctionState(optState); |
- GrBlendCoeff srcCoeff = optState.getSrcBlendCoeff(); |
- GrBlendCoeff dstCoeff = optState.getDstBlendCoeff(); |
- |
fCurrentProgram.reset(fProgramCache->getProgram(optState)); |
if (NULL == fCurrentProgram.get()) { |
SkDEBUGFAIL("Failed to create program!"); |
@@ -230,7 +227,7 @@ bool GrGpuGL::flushGraphicsState(const GrOptDrawState& optState) { |
fHWProgramID = programID; |
} |
- this->flushBlend(optState, kDrawLines_DrawType == optState.drawType(), srcCoeff, dstCoeff); |
+ this->flushBlend(optState); |
fCurrentProgram->setData(optState); |
} |