| Index: src/gpu/effects/GrDashingEffect.cpp
|
| diff --git a/src/gpu/effects/GrDashingEffect.cpp b/src/gpu/effects/GrDashingEffect.cpp
|
| index 1848c18dce3f8cb737ce57803f135e48a3f2416e..167cefa47e91ba1078173ad04a60932b0a2b663f 100644
|
| --- a/src/gpu/effects/GrDashingEffect.cpp
|
| +++ b/src/gpu/effects/GrDashingEffect.cpp
|
| @@ -950,10 +950,9 @@ DashingCircleEffect::DashingCircleEffect(GrColor color,
|
| , fUsesLocalCoords(usesLocalCoords)
|
| , fAAMode(aaMode) {
|
| this->initClassID<DashingCircleEffect>();
|
| - fInPosition = &this->addVertexAttrib(Attribute("inPosition", kVec2f_GrVertexAttribType));
|
| - fInDashParams = &this->addVertexAttrib(Attribute("inDashParams", kVec3f_GrVertexAttribType));
|
| - fInCircleParams = &this->addVertexAttrib(Attribute("inCircleParams",
|
| - kVec2f_GrVertexAttribType));
|
| + fInPosition = &this->addVertexAttrib("inPosition", kVec2f_GrVertexAttribType);
|
| + fInDashParams = &this->addVertexAttrib("inDashParams", kVec3f_GrVertexAttribType);
|
| + fInCircleParams = &this->addVertexAttrib("inCircleParams", kVec2f_GrVertexAttribType);
|
| }
|
|
|
| GR_DEFINE_GEOMETRY_PROCESSOR_TEST(DashingCircleEffect);
|
| @@ -1184,9 +1183,9 @@ DashingLineEffect::DashingLineEffect(GrColor color,
|
| , fUsesLocalCoords(usesLocalCoords)
|
| , fAAMode(aaMode) {
|
| this->initClassID<DashingLineEffect>();
|
| - fInPosition = &this->addVertexAttrib(Attribute("inPosition", kVec2f_GrVertexAttribType));
|
| - fInDashParams = &this->addVertexAttrib(Attribute("inDashParams", kVec3f_GrVertexAttribType));
|
| - fInRectParams = &this->addVertexAttrib(Attribute("inRect", kVec4f_GrVertexAttribType));
|
| + fInPosition = &this->addVertexAttrib("inPosition", kVec2f_GrVertexAttribType);
|
| + fInDashParams = &this->addVertexAttrib("inDashParams", kVec3f_GrVertexAttribType);
|
| + fInRectParams = &this->addVertexAttrib("inRect", kVec4f_GrVertexAttribType);
|
| }
|
|
|
| GR_DEFINE_GEOMETRY_PROCESSOR_TEST(DashingLineEffect);
|
|
|