draw: Fix fetch_max calculation.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 4 Jul 2011 11:31:30 +0000 (12:31 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 4 Jul 2011 11:31:30 +0000 (12:31 +0100)
commitf67de2ed468ecbd09085746130a27bd2c2da911d
tree4592ebf213c2769e07655075ce05821c820efec0
parent424b1210d951c206e7c2fb8f2778acbd384eb247
draw: Fix fetch_max calculation.

It should be

 max_index = start + count - 1

instead of

 max_index = count - 1
src/gallium/auxiliary/draw/draw_llvm.c