Index: src/gpu/gl/GrGLProgram.cpp |
diff --git a/src/gpu/gl/GrGLProgram.cpp b/src/gpu/gl/GrGLProgram.cpp |
index accaf884d1774d90be131a5ca5ffaad6da33b63a..5b030fa36aee8f3e90278f2243988a8feffa7fe0 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.getCoverage(); |
+ coverage = drawState.getCoverageColor(); |
} else { |
color = drawState.getColor(); |
- coverage = drawState.getCoverage(); |
+ coverage = drawState.getCoverageColor(); |
} |
this->setColor(drawState, color, sharedState); |