summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_tex_sample.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-09-21 14:23:07 -0600
committerBrian Paul <brianp@vmware.com>2009-09-21 14:25:39 -0600
commit2655d437569c5bce7c56782792cbd4460b9f758b (patch)
treee19deca60018f36c6a55f85ab1083297d0cf7da1 /src/gallium/drivers/softpipe/sp_tex_sample.c
parent44d260329efaea2bc844afa42fb1b4f882ab74fd (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 'src/gallium/drivers/softpipe/sp_tex_sample.c')
0 files changed, 0 insertions, 0 deletions