Index: src/gpu/gl/GrGLProgram.cpp |
diff --git a/src/gpu/gl/GrGLProgram.cpp b/src/gpu/gl/GrGLProgram.cpp |
index b0435928eb1b520e9f356778c909d744af9bece4..c1b3a31218f7af5082a755346539724c8fe7f20e 100644 |
--- a/src/gpu/gl/GrGLProgram.cpp |
+++ b/src/gpu/gl/GrGLProgram.cpp |
@@ -51,9 +51,7 @@ GrGLProgram::GrGLProgram(GrGpuGL* gpu, |
fColorFilterColor = GrColor_ILLEGAL; |
if (fDesc.getHeader().fHasVertexCode || |
- !fGpu->glCaps().fixedFunctionSupport() || |
- !fGpu->glCaps().pathRenderingSupport()) { |
- |
+ !fGpu->shouldUseFixedFunctionTexturing()) { |
GrGLFullShaderBuilder fullBuilder(fGpu, fUniformManager, fDesc); |
if (this->genProgram(&fullBuilder, colorStages, coverageStages)) { |
fUniformHandles.fViewMatrixUni = fullBuilder.getViewMatrixUniform(); |