vbo: clamp DrawElements start/end to max possible values
authorBrian Paul <brianp@vmware.com>
Tue, 26 Jan 2010 19:47:51 +0000 (12:47 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 26 Jan 2010 19:47:54 +0000 (12:47 -0700)
commit645e297a0019eb2f7513bd801ffdaac03187f29f
tree7a4d78a57c056e79062ccab42887a81829e6c19b
parentaf1e9403e732651fe2cedde230ac7010f2f1a649
vbo: clamp DrawElements start/end to max possible values

Some apps are sloppy with their start/end values.  Clamp them to
max possible values to prevent problems later.
src/mesa/vbo/vbo_exec_array.c