Index: src/gpu/batches/GrClearBatch.h |
diff --git a/src/gpu/batches/GrClearBatch.h b/src/gpu/batches/GrClearBatch.h |
index 944485ca7eb935c303ccca618dcd68c809f90b7e..c38372c1e25490209777fc6fd31803d9b0f4599f 100644 |
--- a/src/gpu/batches/GrClearBatch.h |
+++ b/src/gpu/batches/GrClearBatch.h |
@@ -28,6 +28,7 @@ public: |
const char* name() const override { return "Clear"; } |
uint32_t renderTargetUniqueID() const override { return fRenderTarget.get()->getUniqueID(); } |
+ GrRenderTarget* renderTarget() const override { return fRenderTarget.get(); } |
SkString dumpInfo() const override { |
SkString string; |
@@ -71,6 +72,7 @@ public: |
const char* name() const override { return "ClearStencilClip"; } |
uint32_t renderTargetUniqueID() const override { return fRenderTarget.get()->getUniqueID(); } |
+ GrRenderTarget* renderTarget() const override { return fRenderTarget.get(); } |
SkString dumpInfo() const override { |
SkString string; |