Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit ba084d6

Browse files
committed
fix unnecessary logic
1 parent 2c6bc17 commit ba084d6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Runtime/ui/painting/shadow_utils.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ float heightFunc(float x, float y) {
121121
h0.y / h2.z, h1.y / h2.z, h2.y / h2.z,
122122
h0.z / h2.z, h1.z / h2.z, 1);
123123

124-
_toHomogeneous.reset();
125124
float xScale = 2.0f / (pathBounds.right - pathBounds.left);
126125
float yScale = 2.0f / (pathBounds.bottom - pathBounds.top);
127126

0 commit comments

Comments
 (0)