diff options
author | Kenneth Graunke <[email protected]> | 2010-10-29 11:42:22 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2010-10-29 11:43:30 -0700 |
commit | cff1aeea10c6d8520cbb17381d81a684b2e9408b (patch) | |
tree | 534ad1de69e897f93a8845f05b1a5e47c3a66195 /src/glsl | |
parent | a974949f3b586eee2bc8d6d97d3adb71796fe167 (diff) |
glsl: Remove unused ARRAY_SIZE macro.
It's also equivalent to Elements(...) which is already used elsewhere.
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/ir.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 06198e4f3f6..80e0f67d6d8 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -37,10 +37,6 @@ extern "C" { #include "ir_visitor.h" #include "ir_hierarchical_visitor.h" -#ifndef ARRAY_SIZE -#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) -#endif - /** * \defgroup IR Intermediate representation nodes * |