diff options
Diffstat (limited to 'include/gpu/effects/GrConstColorProcessor.h')
-rw-r--r-- | include/gpu/effects/GrConstColorProcessor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/effects/GrConstColorProcessor.h b/include/gpu/effects/GrConstColorProcessor.h index 44e8cb17fc..b543aa5069 100644 --- a/include/gpu/effects/GrConstColorProcessor.h +++ b/include/gpu/effects/GrConstColorProcessor.h @@ -46,7 +46,7 @@ private: static OptimizationFlags OptFlags(GrColor4f color, InputMode mode) { OptimizationFlags flags = kConstantOutputForConstantInput_OptimizationFlag; if (mode != kIgnore_InputMode) { - flags |= kModulatesInput_OptimizationFlag; + flags |= kCompatibleWithCoverageAsAlpha_OptimizationFlag; } if (color.isOpaque()) { flags |= kPreservesOpaqueInput_OptimizationFlag; |