diff options
author | Brian Paul <[email protected]> | 2009-09-21 14:23:07 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-21 14:25:39 -0600 |
commit | 2655d437569c5bce7c56782792cbd4460b9f758b (patch) | |
tree | e19deca60018f36c6a55f85ab1083297d0cf7da1 /SConstruct | |
parent | 44d260329efaea2bc844afa42fb1b4f882ab74fd (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 'SConstruct')
0 files changed, 0 insertions, 0 deletions