diff options
author | Brian Paul <brianp@vmware.com> | 2010-01-26 12:49:44 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-01-26 12:49:48 -0700 |
commit | cbecb8fc8e85cfafed7fd8fd0e2dd1143efcf62b (patch) | |
tree | bbbd69b7c998717d0e75ec11b8972258b11c2abf /src/gallium/drivers/nv10/nv10_context.h | |
parent | 645e297a0019eb2f7513bd801ffdaac03187f29f (diff) |
vbo: if 'end' is out of bounds, clamp it
If we determine that the 'end' parameter to glDrawElements() is out of
bounds, clamp it to the max legal index value.
Diffstat (limited to 'src/gallium/drivers/nv10/nv10_context.h')
0 files changed, 0 insertions, 0 deletions