Index: src/gpu/gl/builders/GrGLProgramBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
index a0dd555587f7a466f98bbfa48769443c1e6b8843..328243d954c63b8e3e66d9ca5a9e7324067bfc1d 100644 |
--- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
@@ -84,9 +84,7 @@ bool GrGLProgramBuilder::genProgram(const GrEffectStage* geometryProcessor, |
GrGLProgramBuilder::GrGLProgramBuilder(GrGpuGL* gpu, |
const GrGLProgramDesc& desc) |
- : fFragOnly(!desc.getHeader().fRequiresVertexShader && |
- gpu->glCaps().pathRenderingSupport() && |
- gpu->glPathRendering()->texturingMode() == GrGLPathRendering::FixedFunction_TexturingMode) |
+ : fFragOnly(SkToBool(desc.getHeader().fUseFragShaderOnly)) |
, fTexCoordSetCnt(0) |
, fProgramID(0) |
, fFS(this, desc) |