Re: [Mesa-dev] [PATCH 6/6] mesa: Use VERT_ATTRIB_* indexed array in gl_array_object.

2011-11-28 Thread Mathias Fröhlich
Hi, On Sunday, November 27, 2011 22:52:29 Eric Anholt wrote: Not an issue for this patch, but I noticed that there's this _mesa_update_array_object_max_element that does something similar, but doesn't follow this rule and would trash the _MaxElement value. Some day, the body of this

Re: [Mesa-dev] [PATCH 6/6] mesa: Use VERT_ATTRIB_* indexed array in gl_array_object.

2011-11-27 Thread Eric Anholt
On Sun, 27 Nov 2011 18:19:00 +0100, Mathias Fröhlich mathias.froehl...@gmx.net wrote: Replace the distinct struct gl_client_array members in gl_array_object by an array of gl_client_arrays indexed by VERT_ATTRIB_*. Renumber the vertex attributes slightly to keep the old semantics of the