Fix an error in _save_OBE_DrawElements
authorXiang, Haihao <haihao.xiang@intel.com>
Mon, 30 Jul 2007 16:11:22 +0000 (00:11 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Mon, 30 Jul 2007 16:11:22 +0000 (00:11 +0800)
commit982dcb74fd19b88208d127b8019e2a2af979cac2
tree19429ca2a35033a0ce6eb818abfc30fcc1a59088
parent2394d20dafdfa308d494fc739c63c6a4e91c8185
Fix an error in _save_OBE_DrawElements

In the case that a buffer object is bound to
ELEMENT_ARRARY_BUFFER, it is invalid to directly
dereference indices passed to glDrawElements.
src/mesa/vbo/vbo_save_api.c