diff options
Diffstat (limited to 'samplecode/SampleCCPRGeometry.cpp')
-rw-r--r-- | samplecode/SampleCCPRGeometry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleCCPRGeometry.cpp b/samplecode/SampleCCPRGeometry.cpp index d1cb2b5b57..9749e45a29 100644 --- a/samplecode/SampleCCPRGeometry.cpp +++ b/samplecode/SampleCCPRGeometry.cpp @@ -271,7 +271,7 @@ void CCPRGeometryView::Op::onExecute(GrOpFlushState* state) { GR_GL_CALL(glGpu->glInterface(), Enable(GR_GL_LINE_SMOOTH)); } - state->commandBuffer()->draw(pipeline, ccprProc, &mesh, nullptr, 1, this->bounds()); + state->rtCommandBuffer()->draw(pipeline, ccprProc, &mesh, nullptr, 1, this->bounds()); if (glGpu) { context->resetContext(kMisc_GrGLBackendState); |