[Mesa-dev] [PATCH] draw: fix a regression in computing max elt

2013-06-13 Thread Zack Rusin
gl can use elts without setting indices, in which case our eltMax was set to 0 and always invoking the overflow condition. So by default set eltMax to maximum, it will be curbed by draw_set_indexes (if it ever comes) and if not then it will let gl's glVertexPointer/glDrawArrays work correctly.

Re: [Mesa-dev] [PATCH] draw: fix a regression in computing max elt

2013-06-13 Thread Jose Fonseca
Sounds good. Thanks for tracking this down! Jose - Original Message - gl can use elts without setting indices, in which case our eltMax was set to 0 and always invoking the overflow condition. So by default set eltMax to maximum, it will be curbed by draw_set_indexes (if it ever