Index: src/gpu/gl/GrGpuGL_program.cpp |
diff --git a/src/gpu/gl/GrGpuGL_program.cpp b/src/gpu/gl/GrGpuGL_program.cpp |
index beef93e96b7b25b09cc4d6587dac701194ac0d97..b19676adb9ba53cc9cefbf7f17f6a55130c35cb4 100644 |
--- a/src/gpu/gl/GrGpuGL_program.cpp |
+++ b/src/gpu/gl/GrGpuGL_program.cpp |
@@ -284,7 +284,7 @@ |
void GrGpuGL::setupGeometry(const DrawInfo& info, size_t* indexOffsetInBytes) { |
- GrGLsizei stride = static_cast<GrGLsizei>(this->getDrawState().getVertexStride()); |
+ GrGLsizei stride = static_cast<GrGLsizei>(this->getDrawState().getVertexSize()); |
size_t vertexOffsetInBytes = stride * info.startVertex(); |