Index: src/gpu/gl/GrGpuGL_program.cpp |
diff --git a/src/gpu/gl/GrGpuGL_program.cpp b/src/gpu/gl/GrGpuGL_program.cpp |
index b9b0984732d972910eb0f5d064467c398570c035..bc3a5b2e79a6e4296991d599d2bafb605263928a 100644 |
--- a/src/gpu/gl/GrGpuGL_program.cpp |
+++ b/src/gpu/gl/GrGpuGL_program.cpp |
@@ -313,7 +313,7 @@ void GrGpuGL::setupGeometry(const DrawInfo& info, size_t* indexOffsetInBytes) { |
} |
SkASSERT(NULL != vbuf); |
- SkASSERT(!vbuf->isLocked()); |
+ SkASSERT(!vbuf->isMapped()); |
vertexOffsetInBytes += vbuf->baseOffset(); |
GrGLIndexBuffer* ibuf = NULL; |
@@ -337,7 +337,7 @@ void GrGpuGL::setupGeometry(const DrawInfo& info, size_t* indexOffsetInBytes) { |
} |
SkASSERT(NULL != ibuf); |
- SkASSERT(!ibuf->isLocked()); |
+ SkASSERT(!ibuf->isMapped()); |
*indexOffsetInBytes += ibuf->baseOffset(); |
} |
GrGLAttribArrayState* attribState = |