mesa: Warn when indices are out of bounds, but do not skip the draw in debug builds.
authorBrian Paul <brianp@vmware.com>
Fri, 29 Jan 2010 15:31:48 +0000 (08:31 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 29 Jan 2010 15:31:48 +0000 (08:31 -0700)
commit4886f677ecf121c863f8f65a846284ab9d26cbea
tree3c576e8f7187ed4960b2253b8661af6df793fd39
parent7683271e63e4527fc72f309472181c743922e7e9
mesa: Warn when indices are out of bounds, but do not skip the draw in debug builds.

The driver (or preferably the hardware) should handle out of bounds
indices.

If there are problems then it's better to detect those in the debug
builds.

(cherry picked from commit e3257912e006120f6ab611e77005eed1a464030a)
src/mesa/vbo/vbo_exec_array.c