Index: src/gpu/gl/GrGLProgram.cpp |
diff --git a/src/gpu/gl/GrGLProgram.cpp b/src/gpu/gl/GrGLProgram.cpp |
index 11efda92144ee2aa72b4668dac6a5b037d9d3c34..534e3c38a1bc10d10e4203e94275b7a5749873ad 100644 |
--- a/src/gpu/gl/GrGLProgram.cpp |
+++ b/src/gpu/gl/GrGLProgram.cpp |
@@ -188,6 +188,9 @@ void GrGLProgram::setColor(const GrDrawState& drawState, |
} |
sharedState->fConstAttribColorIndex = -1; |
break; |
+ case GrGLProgramDesc::kAllOnes_ColorInput: |
+ sharedState->fConstAttribColorIndex = -1; |
+ break; |
default: |
SkFAIL("Unexpected color type."); |
} |
@@ -223,7 +226,7 @@ void GrGLProgram::setCoverage(const GrDrawState& drawState, |
} |
sharedState->fConstAttribCoverageIndex = -1; |
break; |
- case GrGLProgramDesc::kSolidWhite_ColorInput: |
+ case GrGLProgramDesc::kAllOnes_ColorInput: |
sharedState->fConstAttribCoverageIndex = -1; |
break; |
default: |