[Mesa-dev] [PATCH 14/14] mesa: remove the Elements() macro definition

Brian Paul brianp at vmware.com
Sat Feb 28 08:22:48 PST 2015


No longer used.
---
 src/mesa/main/compiler.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index a0ef75a..7f2d732 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -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
 }
-- 
1.9.1



More information about the mesa-dev mailing list