projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
692bd4a
)
mesa: remove the Elements() macro definition
author
Brian Paul
<brianp@vmware.com>
Sat, 28 Feb 2015 16:11:43 +0000
(09:11 -0700)
committer
Brian 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
patch
|
blob
|
history
diff --git
a/src/mesa/main/compiler.h
b/src/mesa/main/compiler.h
index a0ef75a24fd2deb1eef4ace104f269a7dd05ca47..7f2d732ae8c0fd4320f0a39e80d2c8d17f3c64ab 100644
(file)
--- 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
}