Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit abe5a01

Browse files
committed
Add back alpha.
1 parent ac05d07 commit abe5a01

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

impeller/display_list/aiks_dl_vertices_unittests.cc

+6-2
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,12 @@ TEST_P(AiksTest, VerticesGeometryColorUVPositionDataAdvancedBlend) {
134134
SkPoint::Make(0, 0), SkPoint::Make(size.width, size.height),
135135
};
136136
std::vector<DlColor> colors = {
137-
DlColor::kRed(), DlColor::kBlue(), DlColor::kGreen(),
138-
DlColor::kRed(), DlColor::kBlue(), DlColor::kGreen(),
137+
DlColor::kRed().modulateOpacity(0.5),
138+
DlColor::kBlue().modulateOpacity(0.5),
139+
DlColor::kGreen().modulateOpacity(0.5),
140+
DlColor::kRed().modulateOpacity(0.5),
141+
DlColor::kBlue().modulateOpacity(0.5),
142+
DlColor::kGreen().modulateOpacity(0.5),
139143
};
140144

141145
auto vertices =

0 commit comments

Comments
 (0)