aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ops/GrDiscardOp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/ops/GrDiscardOp.h')
-rw-r--r--src/gpu/ops/GrDiscardOp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/ops/GrDiscardOp.h b/src/gpu/ops/GrDiscardOp.h
index b97879097c..e7225af0d2 100644
--- a/src/gpu/ops/GrDiscardOp.h
+++ b/src/gpu/ops/GrDiscardOp.h
@@ -44,7 +44,7 @@ private:
void onPrepare(GrOpFlushState*) override {}
- void onDraw(GrOpFlushState* state, const SkRect& /*bounds*/) override {
+ void onExecute(GrOpFlushState* state, const SkRect& /*bounds*/) override {
state->commandBuffer()->discard(fRenderTarget.get());
}