| Index: src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp
|
| diff --git a/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp b/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp
|
| index d67a476c681e99aedf85380c65273ed7bc27fc9e..4a491a57722ed24a1c74c958fe47e25a59e6b31c 100644
|
| --- a/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp
|
| +++ b/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp
|
| @@ -54,11 +54,11 @@ void GrGLVertexBuilder::transformToNormalizedDeviceSpace(const char* pos3) {
|
| }
|
|
|
| void GrGLVertexBuilder::bindVertexAttributes(GrGLuint programID) {
|
| - const GrPrimitiveProcessor* primProc = fProgramBuilder->fOptState.getPrimitiveProcessor();
|
| + const GrPrimitiveProcessor& primProc = fProgramBuilder->primitiveProcessor();
|
|
|
| - int vaCount = primProc->numAttribs();
|
| + int vaCount = primProc.numAttribs();
|
| for (int i = 0; i < vaCount; i++) {
|
| - GL_CALL(BindAttribLocation(programID, i, primProc->getAttrib(i).fName));
|
| + GL_CALL(BindAttribLocation(programID, i, primProc.getAttrib(i).fName));
|
| }
|
| return;
|
| }
|
|
|