Index: src/gpu/gl/GrGpuGL_program.cpp |
diff --git a/src/gpu/gl/GrGpuGL_program.cpp b/src/gpu/gl/GrGpuGL_program.cpp |
index 68f38df9f0e13a9a05e9fc28f754dce1c864eda6..cfea2c508c74caf29669a1d633cc5d7608f8c83a 100644 |
--- a/src/gpu/gl/GrGpuGL_program.cpp |
+++ b/src/gpu/gl/GrGpuGL_program.cpp |
@@ -264,7 +264,7 @@ void GrGpuGL::setupGeometry(const GrOptDrawState& optState, |
size_t vertexOffsetInBytes = stride * info.startVertex(); |
GrGLVertexBuffer* vbuf; |
- vbuf = (GrGLVertexBuffer*) this->getGeomSrc().fVertexBuffer; |
+ vbuf = (GrGLVertexBuffer*) info.vertexBuffer(); |
SkASSERT(vbuf); |
SkASSERT(!vbuf->isMapped()); |
@@ -275,7 +275,7 @@ void GrGpuGL::setupGeometry(const GrOptDrawState& optState, |
SkASSERT(indexOffsetInBytes); |
*indexOffsetInBytes = 0; |
- ibuf = (GrGLIndexBuffer*)this->getGeomSrc().fIndexBuffer; |
+ ibuf = (GrGLIndexBuffer*)info.indexBuffer(); |
SkASSERT(ibuf); |
SkASSERT(!ibuf->isMapped()); |