mesa/main: replace Elements() with ARRAY_SIZE()
authorBrian Paul <brianp@vmware.com>
Sat, 28 Feb 2015 15:57:11 +0000 (08:57 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 2 Mar 2015 15:55:30 +0000 (08:55 -0700)
commitc2e130f8201239f836f429cab3beddb4d66a3357
tree244eb29a1db25d23e6bd5f276e64817838c470fb
parentcd6db1989ad98b3e848d3ab132de98dc06274385
mesa/main: replace Elements() with ARRAY_SIZE()

We've been using a mix of these two macros for a while now.  Let's
just use the later everywhere.  It seems to be the convention used
by other open-source projects.

Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
24 files changed:
src/mesa/main/arrayobj.c
src/mesa/main/attrib.c
src/mesa/main/blend.c
src/mesa/main/blit.c
src/mesa/main/bufferobj.c
src/mesa/main/context.c
src/mesa/main/debug.c
src/mesa/main/errors.c
src/mesa/main/es1_conversion.c
src/mesa/main/formats.c
src/mesa/main/get.c
src/mesa/main/matrix.c
src/mesa/main/points.c
src/mesa/main/rastpos.c
src/mesa/main/remap.c
src/mesa/main/shared.c
src/mesa/main/teximage.c
src/mesa/main/texstate.c
src/mesa/main/texstate.h
src/mesa/main/texstorage.c
src/mesa/main/transformfeedback.c
src/mesa/main/uniform_query.cpp
src/mesa/main/uniforms.c
src/mesa/main/varray.c