Index: src/gpu/GrGpu.cpp |
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp |
index 6b815b69713cd6eba8327283a763c3aad3b074d8..d062a48129df89d09a5b4b4c016d58c0e64fd52a 100644 |
--- a/src/gpu/GrGpu.cpp |
+++ b/src/gpu/GrGpu.cpp |
@@ -236,9 +236,9 @@ GrRenderTarget* GrGpu::wrapBackendTextureAsRenderTarget(const GrBackendTextureDe |
} |
GrBuffer* GrGpu::createBuffer(size_t size, GrBufferType intendedType, |
- GrAccessPattern accessPattern) { |
+ GrAccessPattern accessPattern, const void* data) { |
this->handleDirtyContext(); |
- GrBuffer* buffer = this->onCreateBuffer(size, intendedType, accessPattern); |
+ GrBuffer* buffer = this->onCreateBuffer(size, intendedType, accessPattern, data); |
if (!this->caps()->reuseScratchBuffers()) { |
buffer->resourcePriv().removeScratchKey(); |
} |