mesa: remove the Elements() macro definition
authorBrian Paul <brianp@vmware.com>
Sat, 28 Feb 2015 16:11:43 +0000 (09:11 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 2 Mar 2015 15:55:31 +0000 (08:55 -0700)
No longer used.

Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/main/compiler.h

index a0ef75a24fd2deb1eef4ace104f269a7dd05ca47..7f2d732ae8c0fd4320f0a39e80d2c8d17f3c64ab 100644 (file)
@@ -175,9 +175,6 @@ static inline GLuint CPU_TO_LE32(GLuint x)
 
 #define IEEE_ONE 0x3f800000
 
-#ifndef Elements
-#define Elements(x) (sizeof(x)/sizeof(*(x)))
-#endif
 
 #ifdef __cplusplus
 }