Fix a typo in geometry.cc#ComputeUVGeometryForRect. (flutter/engine#49986)

Follow up to https://github.com/flutter/engine/pull/49910#pullrequestreview-1840067150.
This commit is contained in:
Matan Lurey
2024-01-23 21:44:24 -08:00
committed by GitHub
parent f0789d4744
commit 3fd9bd213f

View File

@@ -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.