diff options
Diffstat (limited to 'src/gpu/gl/GrGpuGL_program.cpp')
-rw-r--r-- | src/gpu/gl/GrGpuGL_program.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGpuGL_program.cpp b/src/gpu/gl/GrGpuGL_program.cpp index beaaa903b2..c4011e7314 100644 --- a/src/gpu/gl/GrGpuGL_program.cpp +++ b/src/gpu/gl/GrGpuGL_program.cpp @@ -204,7 +204,7 @@ void GrGpuGL::abandonResources(){ fProgramCache->abandon(); fHWProgramID = 0; if (this->glCaps().pathRenderingSupport()) { - fPathRendering->abandonGpuResources(); + this->glPathRendering()->abandonGpuResources(); } } @@ -222,7 +222,7 @@ bool GrGpuGL::flushGraphicsState(DrawType type, const GrDeviceCoordTexture* dstC const GrRenderTarget* rt = this->getDrawState().getRenderTarget(); SkISize size; size.set(rt->width(), rt->height()); - this->setProjectionMatrix(drawState.getViewMatrix(), size, rt->origin()); + this->glPathRendering()->setProjectionMatrix(drawState.getViewMatrix(), size, rt->origin()); } else { this->flushMiscFixedFunctionState(); |