vbo: disable the GL_ARB_draw_elements_base_vertex rebase path
authorBrian Paul <brianp@vmware.com>
Mon, 21 Sep 2009 22:07:14 +0000 (16:07 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 21 Sep 2009 22:10:50 +0000 (16:10 -0600)
commit972e995b148c220d32f2bf8c0a17c138deec6506
tree8ad73b0cc2fca41d4b440b1c776bc4f7020800e0
parent83019ffc0708708af7ee1ddbf3cbf949bcf076bd
vbo: disable the GL_ARB_draw_elements_base_vertex rebase path

This was introduced with commit 92d7ed8a20d4a018ce5324e6537ae7b478b9e5bf.
It causes rendering of stray polygons (with sw rendering at least) when
running the OGL Distilled / Picking demo (click on an object).

This needs additional debugging to fix/restore.

Found one suspect thing: in _tnl_draw_prims() there's some mixed signed/
unsigned arithmetic/comparing at line 422 that may be incorrect.
src/mesa/vbo/vbo_rebase.c