| Index: src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp
|
| diff --git a/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp b/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp
|
| index a8d08656bd8a9ee0e2a9eb77151996dbf4d0008e..f17e741169859adac2a4ba0e7d282cd20a8846f1 100644
|
| --- a/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp
|
| +++ b/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp
|
| @@ -64,11 +64,11 @@ void GrGLVertexBuilder::transformToNormalizedDeviceSpace(const GrShaderVar& posV
|
| }
|
|
|
| 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;
|
| }
|
|
|