aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrBufferedDrawTarget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrBufferedDrawTarget.cpp')
-rw-r--r--src/gpu/GrBufferedDrawTarget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrBufferedDrawTarget.cpp b/src/gpu/GrBufferedDrawTarget.cpp
index 36542a1127..a706bf3932 100644
--- a/src/gpu/GrBufferedDrawTarget.cpp
+++ b/src/gpu/GrBufferedDrawTarget.cpp
@@ -103,7 +103,7 @@ void GrBufferedDrawTarget::onReset() {
}
void GrBufferedDrawTarget::onFlush() {
- fCommands->flush(this);
+ fCommands->flush(this->getGpu(), this->getContext()->resourceProvider());
++fDrawID;
}