Make GrPipelineInput::setToSolidCoverage set the opaque bit.
Change-Id: I3580a9bf1b40c46ac642157f50e09b1fab40c3d3 Reviewed-on: https://skia-review.googlesource.com/8485 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
This commit is contained in:
parent
2ae3a2ec29
commit
56ec7586f1
@ -40,7 +40,7 @@ struct GrPipelineInput {
|
||||
|
||||
void setToSolidCoverage() {
|
||||
fColor = GrColor_WHITE;
|
||||
fFlags = kColorIsKnown_Flag | kColorIsKnown_Flag;
|
||||
fFlags = kColorIsKnown_Flag | kIsOpaque_Flag;
|
||||
}
|
||||
|
||||
void setToScalar(uint8_t alpha) {
|
||||
|
Loading…
Reference in New Issue
Block a user