Remove ARRAY_SIZE, and use ARRAY_LEN instead.

This commit is contained in:
James Canete 2012-10-28 20:35:16 +00:00
parent 5cbe7888f8
commit 3dff29e991
2 changed files with 2 additions and 6 deletions

View file

@ -40,10 +40,6 @@ typedef unsigned int glIndex_t;
#define BUFFER_OFFSET(i) ((char *)NULL + (i))
#ifndef ARRAY_SIZE
# define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0]))
#endif
// everything that is needed by the backend needs
// to be double buffered to allow it to run in
// parallel on a dual cpu machine