Commit 0dc08a3
authored
Assert when glDrawElements cannot draw anything because of missing vertex bounds (#26525)
Even with FULL_ES2, glDrawElements cannot handle the case where the
indices are in a buffer but the vertices are client-side. Nothing will
be drawn in this case. Add an assertion to make this situation visible
when debugging.
Fixes #264601 parent 0a74f32 commit 0dc08a3
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3036 | 3036 | | |
3037 | 3037 | | |
3038 | 3038 | | |
3039 | | - | |
| 3039 | + | |
3040 | 3040 | | |
3041 | 3041 | | |
3042 | 3042 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
578 | 582 | | |
579 | 583 | | |
580 | 584 | | |
| |||
0 commit comments