| Index: src/gpu/gl/GrGpuGL.cpp
|
| ===================================================================
|
| --- src/gpu/gl/GrGpuGL.cpp (revision 8377)
|
| +++ src/gpu/gl/GrGpuGL.cpp (working copy)
|
| @@ -2236,7 +2236,8 @@
|
| const GrGLVertexBuffer* vbuffer,
|
| const GrGLIndexBuffer* ibuffer) {
|
| GrAssert(NULL != vbuffer);
|
| - GrGLAttribArrayState* attribState = &fDefaultVertexArrayAttribState;
|
| + GrGLAttribArrayState* attribState;
|
| +
|
| // We use a vertex array if we're on a core profile and the verts are in a VBO.
|
| if (gpu->glCaps().isCoreProfile() && !vbuffer->isCPUBacked()) {
|
| if (NULL == fVBOVertexArray || !fVBOVertexArray->isValid()) {
|
|
|