Commit ab74325
docs(webgl): correct WebGL-availability docs for the WebGL 2 requirement
- `device.isWebGLSupported()` documented as probing WebGL 2, and as the
same probe renderer construction uses, with the AUTO-falls-back /
WEBGL-throws consequence spelled out (the old text claimed the renderer
"will switch to CANVAS mode", true only on the AUTO path)
- `failIfMajorPerformanceCaveat` notes that melonJS defaults it to `true`
where the WebGL default is `false`, and what that means combined with
the WebGL 2 requirement
- changelog: record the resulting narrowing of which devices get the
WebGL renderer
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JvxaXQRgQn5AoR8DNkv6Wg1 parent 200eb81 commit ab74325
3 files changed
Lines changed: 18 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
186 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
187 | 193 | | |
188 | 194 | | |
189 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
640 | | - | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
641 | 646 | | |
642 | | - | |
643 | | - | |
| 647 | + | |
| 648 | + | |
644 | 649 | | |
645 | 650 | | |
646 | 651 | | |
| |||
0 commit comments