u_vbuf_mgr: correctly obtain min/max_index for uploads and translate
authorMarek Olšák <maraeo@gmail.com>
Sun, 20 Nov 2011 02:50:36 +0000 (03:50 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sun, 20 Nov 2011 15:24:12 +0000 (16:24 +0100)
commit72e1117e489986783dd5b27a3ad781b86c2d5d67
tree584abe0c9f6b60f9ed6c85c90699fd1f7e7191cc
parentc95bd12bec0834715894ee42e89e26c31a4ffac4
u_vbuf_mgr: correctly obtain min/max_index for uploads and translate

This forks vbo_get_minmax_index. We need to know the index range when
translating non-native vertices into native ones. There is no other way
around it.
src/gallium/auxiliary/util/u_vbuf_mgr.c