Commit 20289db
fix: remove over-aggressive WebGL shader compilation pre-check (#236)
The shader-compilation test on a detached test canvas produced false
negatives on Windows (ANGLE backend) and Linux (Mesa), causing the globe
to refuse initialization even when WebGL was fully functional. macOS was
unaffected due to its Metal-backed WebGL implementation.
Replace with a lightweight context-existence check; globe.gl's own
Three.js initialization already handles deeper WebGL failures via the
existing try/catch.
Fixes: #234
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Brian Keating <brianbruff@users.noreply.github.com>1 parent 1f54696 commit 20289db
1 file changed
Lines changed: 8 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
321 | 326 | | |
322 | 327 | | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
| 328 | + | |
327 | 329 | | |
328 | 330 | | |
329 | 331 | | |
330 | 332 | | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | 333 | | |
348 | | - | |
| 334 | + | |
349 | 335 | | |
350 | 336 | | |
351 | 337 | | |
| |||
0 commit comments