diff options
Diffstat (limited to 'src/gpu/gl/GrGLProgramEffects.cpp')
-rw-r--r-- | src/gpu/gl/GrGLProgramEffects.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/gpu/gl/GrGLProgramEffects.cpp b/src/gpu/gl/GrGLProgramEffects.cpp index 3fa4f15ac8..8ea77d05eb 100644 --- a/src/gpu/gl/GrGLProgramEffects.cpp +++ b/src/gpu/gl/GrGLProgramEffects.cpp @@ -478,16 +478,18 @@ void GrGLPathTexGenProgramEffects::setPathTexGenState(GrGpuGL* gpu, switch (get_matrix_type(totalKey, t)) { case kNoPersp_MatrixType: { const SkMatrix& transform = get_transform_matrix(drawEffect, t); - gpu->enablePathTexGen(texCoordIndex++, - GrGpuGL::kST_PathTexGenComponents, - transform); + gpu->glPathRendering()->enablePathTexGen( + texCoordIndex++, + GrGLPathRendering::kST_PathTexGenComponents, + transform); break; } case kGeneral_MatrixType: { const SkMatrix& transform = get_transform_matrix(drawEffect, t); - gpu->enablePathTexGen(texCoordIndex++, - GrGpuGL::kSTR_PathTexGenComponents, - transform); + gpu->glPathRendering()->enablePathTexGen( + texCoordIndex++, + GrGLPathRendering::kSTR_PathTexGenComponents, + transform); break; } default: |