Index: src/gpu/gl/GrGLGpu.cpp |
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp |
index 4f09ebae00b4556edf52cdb85b6a34d9035277fc..3a7f531476a40e2277eed3d6d5216ecae630a502 100644 |
--- a/src/gpu/gl/GrGLGpu.cpp |
+++ b/src/gpu/gl/GrGLGpu.cpp |
@@ -1949,8 +1949,8 @@ GrStencilAttachment* GrGLGpu::createStencilAttachmentForRenderTarget(const GrRen |
#define DYNAMIC_USAGE_PARAM GR_GL_STREAM_DRAW |
GrBuffer* GrGLGpu::onCreateBuffer(size_t size, GrBufferType intendedType, |
- GrAccessPattern accessPattern) { |
- return GrGLBuffer::Create(this, size, intendedType, accessPattern); |
+ GrAccessPattern accessPattern, const void* data) { |
+ return GrGLBuffer::Create(this, size, intendedType, accessPattern, data); |
} |
void GrGLGpu::flushScissor(const GrScissorState& scissorState, |