aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTestBatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrTestBatch.h')
-rw-r--r--src/gpu/GrTestBatch.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gpu/GrTestBatch.h b/src/gpu/GrTestBatch.h
index e180fac390..41839eee86 100644
--- a/src/gpu/GrTestBatch.h
+++ b/src/gpu/GrTestBatch.h
@@ -25,11 +25,7 @@ public:
void getInvariantOutputColor(GrInitInvariantOutput* out) const override {
// When this is called on a batch, there is only one geometry bundle
- if (fGeometryProcessor->hasVertexColor()) {
- out->setUnknownFourComponents();
- } else {
- out->setKnownFourComponents(fGeometryProcessor->color());
- }
+ out->setKnownFourComponents(fGeometryProcessor->color());
}
void getInvariantOutputCoverage(GrInitInvariantOutput* out) const override {