From 3fd9bd213f35b5df849392fe9e22e05f61fe137d Mon Sep 17 00:00:00 2001 From: Matan Lurey Date: Tue, 23 Jan 2024 21:44:24 -0800 Subject: [PATCH] Fix a typo in `geometry.cc#ComputeUVGeometryForRect`. (flutter/engine#49986) Follow up to https://github.com/flutter/engine/pull/49910#pullrequestreview-1840067150. --- engine/src/flutter/impeller/entity/geometry/geometry.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/impeller/entity/geometry/geometry.cc b/engine/src/flutter/impeller/entity/geometry/geometry.cc index 768ee6ee8c..0690cc5abb 100644 --- a/engine/src/flutter/impeller/entity/geometry/geometry.cc +++ b/engine/src/flutter/impeller/entity/geometry/geometry.cc @@ -121,7 +121,7 @@ GeometryResult ComputeUVGeometryForRect(Rect source_rect, // Calculate UV-specific transform based on texture coverage and effect. // For example, if the texture is 100x100 and the effect transform is - // scaling by 0.2, texture_bounds.GetNormalizingTransform() will result in a + // scaling by 2.0, texture_bounds.GetNormalizingTransform() will result in a // Matrix that scales by 0.01, and then if the effect_transform is // Matrix::MakeScale(Vector2{2, 2}), the resulting uv_transform will have x // and y basis vectors with scale 0.02.