st/mesa: only set index buffer when drawing is indexed
authorMarek Olšák <maraeo@gmail.com>
Tue, 24 Apr 2012 13:50:44 +0000 (15:50 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sun, 29 Apr 2012 23:09:57 +0000 (01:09 +0200)
commit989bdaab514cce808eea4b9d792656aaeee8603c
tree8c5188e451847067dcc15b7ba16d3cd6834e280f
parent437ab1d6df7282770ee869180446db36c2dbdfa8
st/mesa: only set index buffer when drawing is indexed

and restructure the code a bit
src/mesa/state_tracker/st_draw.c