vbo: in glDraw[Range]Element() code, check for out of bounds indexes
authorBrian Paul <brianp@vmware.com>
Thu, 7 May 2009 17:01:02 +0000 (11:01 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 7 May 2009 17:01:02 +0000 (11:01 -0600)
commitf37cccde3c2f4d63ba45be5b50b2358eb8ef98b4
treeeb187a62d6044976b521991bd6db21c0fe783c0c
parent6359ecebec860963886801656ab4e01c4e9ff988
vbo: in glDraw[Range]Element() code, check for out of bounds indexes

No-op the bad drawing command rather than go out of bounds and render
garbage.  Print a warning to alert the developer to the bad drawing call.
src/mesa/vbo/vbo_exec_array.c