summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-02-28 09:11:43 -0700
committerBrian Paul <[email protected]>2015-03-02 08:55:31 -0700
commite1437d6c0a88906191b7531f4e941fc6b06e2e4a (patch)
tree4fd90646a2e036c4ba5f2cd9882aac18f493fc84 /src/mesa
parent692bd4a1ab9ae00a4771746626d4f33ceb8bcc9b (diff)
mesa: remove the Elements() macro definition
No longer used. Acked-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/compiler.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index a0ef75a24fd..7f2d732ae8c 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
}