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

Commit 37d63ac

Browse files
committed
Adjust to see if goldens work.
1 parent 515aacc commit 37d63ac

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

impeller/display_list/aiks_dl_vertices_unittests.cc

+2-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ std::shared_ptr<DlVertices> MakeVertices(
2626
std::vector<uint16_t> indices,
2727
std::vector<SkPoint> texture_coordinates,
2828
std::vector<DlColor> colors) {
29-
// DlVertexMode mode, int vertex_count, Flags flags, int index_count
3029
DlVertices::Builder::Flags flags(
3130
{{texture_coordinates.size() > 0, colors.size() > 0}});
3231
DlVertices::Builder builder(mode, vertices.size(), flags, indices.size());
@@ -135,9 +134,8 @@ TEST_P(AiksTest, VerticesGeometryColorUVPositionDataAdvancedBlend) {
135134
SkPoint::Make(0, 0), SkPoint::Make(size.width, size.height),
136135
};
137136
std::vector<DlColor> colors = {
138-
DlColor::kRed().withAlpha(128), DlColor::kBlue().withAlpha(128),
139-
DlColor::kGreen().withAlpha(128), DlColor::kRed().withAlpha(128),
140-
DlColor::kBlue().withAlpha(128), DlColor::kGreen().withAlpha(128),
137+
DlColor::kRed(), DlColor::kBlue(), DlColor::kGreen(),
138+
DlColor::kRed(), DlColor::kBlue(), DlColor::kGreen(),
141139
};
142140

143141
auto vertices =

0 commit comments

Comments
 (0)