Index: src/gpu/gl/builders/GrGLFragmentOnlyProgramBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLFragmentOnlyProgramBuilder.cpp b/src/gpu/gl/builders/GrGLFragmentOnlyProgramBuilder.cpp |
index 16def638b5718e39abbb76c243e98d2115a82c9d..9c324337827dd2d2129bb23d81a036abc9b4d654 100644 |
--- a/src/gpu/gl/builders/GrGLFragmentOnlyProgramBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLFragmentOnlyProgramBuilder.cpp |
@@ -11,7 +11,7 @@ |
GrGLFragmentOnlyProgramBuilder::GrGLFragmentOnlyProgramBuilder(GrGpuGL* gpu, |
const GrGLProgramDesc& desc) |
: INHERITED(gpu, desc) { |
- SkASSERT(!desc.getHeader().fRequiresVertexShader); |
+ SkASSERT(desc.getHeader().fUseFragShaderOnly); |
SkASSERT(gpu->glCaps().pathRenderingSupport()); |
SkASSERT(GrGLProgramDesc::kAttribute_ColorInput != desc.getHeader().fColorInput); |
SkASSERT(GrGLProgramDesc::kAttribute_ColorInput != desc.getHeader().fCoverageInput); |