diff options
Diffstat (limited to 'src/gpu/ops/GrClearOp.cpp')
-rw-r--r-- | src/gpu/ops/GrClearOp.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/ops/GrClearOp.cpp b/src/gpu/ops/GrClearOp.cpp index 4b1efd6c47..cb9d4db63b 100644 --- a/src/gpu/ops/GrClearOp.cpp +++ b/src/gpu/ops/GrClearOp.cpp @@ -32,5 +32,6 @@ GrClearOp::GrClearOp(const GrFixedClip& clip, GrColor color, GrSurfaceProxy* pro } void GrClearOp::onExecute(GrOpFlushState* state) { - state->commandBuffer()->clear(fClip, fColor); + SkASSERT(state->rtCommandBuffer()); + state->rtCommandBuffer()->clear(fClip, fColor); } |