Commit 104ddfb
committed
LODSphereMesh: fix MSVC capture error in buildStitchTriangles
MSVC rejects using the constexpr locals N/stride inside the vid/snap lambdas
without an explicit capture (C3493), while capturing them trips Clang's
unused-capture warning. Reference the namespace-scope CHUNK_RES directly so no
capture is needed on either compiler.1 parent 3262777 commit 104ddfb
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
243 | 242 | | |
244 | | - | |
| 243 | + | |
245 | 244 | | |
246 | 245 | | |
247 | 246 | | |
248 | | - | |
| 247 | + | |
249 | 248 | | |
250 | | - | |
| 249 | + | |
251 | 250 | | |
252 | 251 | | |
253 | 252 | | |
| |||
0 commit comments