Mesa (master): mesa: remove the Elements() macro definition
Brian Paul
brianp at kemper.freedesktop.org
Mon Mar 2 16:02:51 UTC 2015
Module: Mesa
Branch: master
Commit: e1437d6c0a88906191b7531f4e941fc6b06e2e4a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1437d6c0a88906191b7531f4e941fc6b06e2e4a
Author: Brian Paul <brianp at vmware.com>
Date: Sat Feb 28 09:11:43 2015 -0700
mesa: remove the Elements() macro definition
No longer used.
Acked-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
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
}
More information about the mesa-commit
mailing list