diff options
author | Brian Paul <brianp@vmware.com> | 2009-09-21 14:23:07 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-09-21 14:56:58 -0600 |
commit | 40603526f478a59b89a4c0a07c75a97dfe56b8c3 (patch) | |
tree | ce8989ec55653083ad6bda1b8829600e078b9aaf /docs/MESA_pack_invert.spec | |
parent | e5d29ebb5e5dd923c9c60972170d072120007aab (diff) |
mesa: refine the error checking vbo_exec_DrawRangeElements()
If the 'end' index is out of bounds issue a warning as before. But instead
of just no-op'ing the draw call, examine the actual array indices to see
if they're OK. If the max array index is out of bounds, issue another
warning and no-op the draw call. Otherwise, draw normally. This is a
debug build-only feature since it could impact performance.
This "fixes" the missing torus in the OGL Distilled / Picking demo.
Diffstat (limited to 'docs/MESA_pack_invert.spec')
0 files changed, 0 insertions, 0 deletions