| Index: src/gpu/gl/GrGLProgram.cpp
|
| diff --git a/src/gpu/gl/GrGLProgram.cpp b/src/gpu/gl/GrGLProgram.cpp
|
| index 9e25a69aa8fd731f9c954941a3277607855a3174..435d0cdb02c988255244c53fc343ebf085fc44eb 100644
|
| --- a/src/gpu/gl/GrGLProgram.cpp
|
| +++ b/src/gpu/gl/GrGLProgram.cpp
|
| @@ -178,8 +178,12 @@
|
| }
|
| sharedState->fConstAttribColorIndex = -1;
|
| break;
|
| + case GrGLProgramDesc::kSolidWhite_ColorInput:
|
| + case GrGLProgramDesc::kTransBlack_ColorInput:
|
| + sharedState->fConstAttribColorIndex = -1;
|
| + break;
|
| default:
|
| - SkFAIL("Unexpected color type.");
|
| + SkFAIL("Unknown color type.");
|
| }
|
| } else {
|
| sharedState->fConstAttribColorIndex = -1;
|
| @@ -214,10 +218,11 @@
|
| sharedState->fConstAttribCoverageIndex = -1;
|
| break;
|
| case GrGLProgramDesc::kSolidWhite_ColorInput:
|
| + case GrGLProgramDesc::kTransBlack_ColorInput:
|
| sharedState->fConstAttribCoverageIndex = -1;
|
| break;
|
| default:
|
| - SkFAIL("Unexpected coverage type.");
|
| + SkFAIL("Unknown coverage type.");
|
| }
|
| } else {
|
| sharedState->fConstAttribCoverageIndex = -1;
|
|
|