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

Commit 0c23ff4

Browse files
committed
dont double divide
1 parent 1a00d10 commit 0c23ff4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

impeller/display_list/display_list_vertices_geometry.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,11 @@ GeometryResult DLVerticesGeometry::GetPositionUVBuffer(
244244
auto sk_point = dl_vertices[i];
245245
auto vertex = Point(sk_point.x(), sk_point.y());
246246
auto coverage_coords = (vertex - coverage_rect.origin) / coverage_rect.size;
247+
247248
vertex_data[i] = {
248249
.vertices = vertex,
249250
.dst_color = color,
250-
.src_texture_coords = coverage_coords / coverage_rect.size,
251+
.src_texture_coords = coverage_coords,
251252
};
252253
}
253254

0 commit comments

Comments
 (0)