Index: src/gpu/gl/GrGLProgram.cpp |
diff --git a/src/gpu/gl/GrGLProgram.cpp b/src/gpu/gl/GrGLProgram.cpp |
index 5b030fa36aee8f3e90278f2243988a8feffa7fe0..accaf884d1774d90be131a5ca5ffaad6da33b63a 100644 |
--- a/src/gpu/gl/GrGLProgram.cpp |
+++ b/src/gpu/gl/GrGLProgram.cpp |
@@ -207,10 +207,10 @@ void GrGLProgram::setData(GrDrawState::BlendOptFlags blendOpts, |
coverage = 0; |
} else if (blendOpts & GrDrawState::kEmitCoverage_BlendOptFlag) { |
color = 0xffffffff; |
- coverage = drawState.getCoverageColor(); |
+ coverage = drawState.getCoverage(); |
} else { |
color = drawState.getColor(); |
- coverage = drawState.getCoverageColor(); |
+ coverage = drawState.getCoverage(); |
} |
this->setColor(drawState, color, sharedState); |