diff options
-rw-r--r-- | src/gpu/GrContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 20f0959205..3b77b73fe6 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -947,7 +947,7 @@ void GrContext::drawVertices(const GrPaint& paint, drawState->setAttribIndex(GrDrawState::kColor_AttribIndex, attribs.count()); attribs.push_back(GrVertexAttrib(kVec4ub_GrVertexAttribType, currentOffset)); colorOffset = currentOffset; - currentOffset += sizeof(GrPoint); + currentOffset += sizeof(GrColor); } drawState->setVertexAttribs(attribs.begin(), attribs.count()); |