aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ops/GrClearStencilClipOp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/ops/GrClearStencilClipOp.h')
-rw-r--r--src/gpu/ops/GrClearStencilClipOp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/ops/GrClearStencilClipOp.h b/src/gpu/ops/GrClearStencilClipOp.h
index 87a2b4d5dd..ac7b0a8de2 100644
--- a/src/gpu/ops/GrClearStencilClipOp.h
+++ b/src/gpu/ops/GrClearStencilClipOp.h
@@ -55,10 +55,10 @@ private:
void onPrepare(GrOpFlushState*) override {}
void onExecute(GrOpFlushState* state) override {
- SkASSERT(state->drawOpArgs().fRenderTarget);
+ SkASSERT(state->drawOpArgs().renderTarget());
- state->commandBuffer()->clearStencilClip(state->drawOpArgs().fRenderTarget,
- fClip, fInsideStencilMask);
+ GrRenderTarget* rt = state->drawOpArgs().renderTarget();
+ state->commandBuffer()->clearStencilClip(rt, fClip, fInsideStencilMask);
}
const GrFixedClip fClip;