| Index: src/gpu/effects/GrBitmapTextGeoProc.cpp
|
| diff --git a/src/gpu/effects/GrBitmapTextGeoProc.cpp b/src/gpu/effects/GrBitmapTextGeoProc.cpp
|
| index e0ec49c271373ed38cbd2b0e0dcae01a10df1451..20a4e937c084a153efe1c6f43c0028570378fe54 100644
|
| --- a/src/gpu/effects/GrBitmapTextGeoProc.cpp
|
| +++ b/src/gpu/effects/GrBitmapTextGeoProc.cpp
|
| @@ -139,16 +139,15 @@ GrBitmapTextGeoProc::GrBitmapTextGeoProc(GrColor color, GrTexture* texture,
|
| , fInColor(nullptr)
|
| , fMaskFormat(format) {
|
| this->initClassID<GrBitmapTextGeoProc>();
|
| - fInPosition = &this->addVertexAttrib(Attribute("inPosition", kVec2f_GrVertexAttribType));
|
| + fInPosition = &this->addVertexAttrib("inPosition", kVec2f_GrVertexAttribType);
|
|
|
| bool hasVertexColor = kA8_GrMaskFormat == fMaskFormat ||
|
| kA565_GrMaskFormat == fMaskFormat;
|
| if (hasVertexColor) {
|
| - fInColor = &this->addVertexAttrib(Attribute("inColor", kVec4ub_GrVertexAttribType));
|
| + fInColor = &this->addVertexAttrib("inColor", kVec4ub_GrVertexAttribType);
|
| }
|
| - fInTextureCoords = &this->addVertexAttrib(Attribute("inTextureCoords",
|
| - kVec2us_GrVertexAttribType,
|
| - kHigh_GrSLPrecision));
|
| + fInTextureCoords = &this->addVertexAttrib("inTextureCoords", kVec2us_GrVertexAttribType,
|
| + kHigh_GrSLPrecision);
|
| this->addTextureAccess(&fTextureAccess);
|
| }
|
|
|
|
|