| Index: src/gpu/instanced/GLInstancedRendering.cpp
|
| diff --git a/src/gpu/instanced/GLInstancedRendering.cpp b/src/gpu/instanced/GLInstancedRendering.cpp
|
| index 3af1aa7ab319880e2518ddf2d8cc590a33aecbf5..3d9058ec3e73aaac0403870990ac3c58445126f4 100644
|
| --- a/src/gpu/instanced/GLInstancedRendering.cpp
|
| +++ b/src/gpu/instanced/GLInstancedRendering.cpp
|
| @@ -264,7 +264,7 @@ void GLInstancedRendering::flushInstanceAttribs(int baseInstance) {
|
| this->glGpu()->bindVertexArray(fVertexArrayID);
|
|
|
| SkASSERT(fInstanceBuffer);
|
| - if (fInstanceAttribsBufferUniqueId != fInstanceBuffer->getUniqueID() ||
|
| + if (fInstanceAttribsBufferUniqueId != fInstanceBuffer->uniqueID() ||
|
| fInstanceAttribsBaseInstance != baseInstance) {
|
| Instance* offsetInBuffer = (Instance*) nullptr + baseInstance;
|
|
|
| @@ -298,7 +298,7 @@ void GLInstancedRendering::flushInstanceAttribs(int baseInstance) {
|
| sizeof(Instance), &offsetInBuffer->fLocalRect));
|
| GL_CALL(VertexAttribDivisor((int)Attrib::kLocalRect, 1));
|
|
|
| - fInstanceAttribsBufferUniqueId = fInstanceBuffer->getUniqueID();
|
| + fInstanceAttribsBufferUniqueId = fInstanceBuffer->uniqueID();
|
| fInstanceAttribsBaseInstance = baseInstance;
|
| }
|
| }
|
|
|