Commit 843f25c
Fix native build: wrap loadCubeTexture resolve/reject for the SH-typed onSuccess
The six-file path passed the Promise resolve directly, which is not assignable to
the widened onSuccess signature (sphericalPolynomial?: Float32Array). Wrap with
() => resolve() / () => reject(new Error(...)).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 7627150 commit 843f25c
1 file changed
Lines changed: 9 additions & 1 deletion
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
131 | 139 | | |
132 | 140 | | |
133 | 141 | | |
| |||
0 commit comments