Index: src/gpu/gl/GrGLProgramEffects.cpp |
diff --git a/src/gpu/gl/GrGLProgramEffects.cpp b/src/gpu/gl/GrGLProgramEffects.cpp |
index 3fa4f15ac80f13fe55de0be6b18155f3b607f3ad..8ea77d05eb6480ac51fe9c38e85df50ded2524a7 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: |