aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/batches/GrClearBatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/batches/GrClearBatch.h')
-rw-r--r--src/gpu/batches/GrClearBatch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/batches/GrClearBatch.h b/src/gpu/batches/GrClearBatch.h
index ef38e74af8..724981e658 100644
--- a/src/gpu/batches/GrClearBatch.h
+++ b/src/gpu/batches/GrClearBatch.h
@@ -100,7 +100,7 @@ private:
void onPrepare(GrBatchFlushState*) override {}
void onDraw(GrBatchFlushState* state, const SkRect& /*bounds*/) override {
- state->commandBuffer()->clear(fClip, fColor);
+ state->commandBuffer()->clear(fRenderTarget.get(), fClip, fColor);
}
GrFixedClip fClip;