Index: src/gpu/GrTessellator.cpp |
diff --git a/src/gpu/GrTessellator.cpp b/src/gpu/GrTessellator.cpp |
index 4024ad0c16d2138b0d4b1476d411d135fec0b206..6fbcab60be4bdc6d0afe5131b6e2cc59786ceb34 100644 |
--- a/src/gpu/GrTessellator.cpp |
+++ b/src/gpu/GrTessellator.cpp |
@@ -204,7 +204,7 @@ inline void* emit_vertex(Vertex* v, const AAParams* aaParams, void* data) { |
if (aaParams->fTweakAlpha) { |
auto d = static_cast<GrDefaultGeoProcFactory::PositionColorAttr*>(data); |
d->fPosition = v->fPoint; |
- d->fColor = SkAlphaMulQ(aaParams->fColor, v->fAlpha); |
+ d->fColor = SkAlphaMulQ(aaParams->fColor, SkAlpha255To256(v->fAlpha)); |
d++; |
return d; |
} |