| Index: src/gpu/gl/GrGLShaderBuilder.cpp
|
| ===================================================================
|
| --- src/gpu/gl/GrGLShaderBuilder.cpp (revision 8462)
|
| +++ src/gpu/gl/GrGLShaderBuilder.cpp (working copy)
|
| @@ -117,7 +117,7 @@
|
|
|
| fPositionVar = &fVSAttrs.push_back();
|
| fPositionVar->set(kVec2f_GrSLType, GrGLShaderVar::kAttribute_TypeModifier, "aPosition");
|
| - if (desc.fAttribBindings & GrDrawState::kLocalCoords_AttribBindingsBit) {
|
| + if (-1 != desc.fLocalCoordAttributeIndex) {
|
| fLocalCoordsVar = &fVSAttrs.push_back();
|
| fLocalCoordsVar->set(kVec2f_GrSLType,
|
| GrGLShaderVar::kAttribute_TypeModifier,
|
|
|