aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar cdalton <cdalton@nvidia.com>2016-04-19 10:00:02 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-19 10:00:02 -0700
commit1bf3e71ad06a318613ccc09e1cf47d3c2465b23c (patch)
tree59aaa63ab864fdf4a6713d84b7a86eaac8dc8d71 /tools
parent44583122acff3251f48a98c71fa3180275e8437e (diff)
Add optional data parameter to createBuffer
Diffstat (limited to 'tools')
-rw-r--r--tools/gpu/GrTest.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/gpu/GrTest.cpp b/tools/gpu/GrTest.cpp
index c707b69375..5771a78532 100644
--- a/tools/gpu/GrTest.cpp
+++ b/tools/gpu/GrTest.cpp
@@ -345,7 +345,9 @@ private:
return nullptr;
}
- GrBuffer* onCreateBuffer(size_t, GrBufferType, GrAccessPattern) override { return nullptr; }
+ GrBuffer* onCreateBuffer(size_t, GrBufferType, GrAccessPattern, const void*) override {
+ return nullptr;
+ }
void onClear(GrRenderTarget*, const SkIRect& rect, GrColor color) override {}