vbo: Eliminate short-circuiting in invalid-start case.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 8 Feb 2012 13:08:24 +0000 (05:08 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 17 Feb 2012 22:57:11 +0000 (14:57 -0800)
commit6e738d35c5c88769ececbadd5f4ac14d36647168
treed6b64a28714b35e52a5f85596b6245df2402b3d2
parent112b02c32402d96fd7d526ab84877bb66dc12de4
vbo: Eliminate short-circuiting in invalid-start case.

Now that we have a index_range_invalid flag, we can just use that rather
than calling vbo_validated_drawrangeelements directly and returning.

NOTE: This is a candidate for release branches.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/vbo/vbo_exec_array.c