From cff1aeea10c6d8520cbb17381d81a684b2e9408b Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 29 Oct 2010 11:42:22 -0700 Subject: glsl: Remove unused ARRAY_SIZE macro. It's also equivalent to Elements(...) which is already used elsewhere. --- src/glsl/ir.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/glsl/ir.h') diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 06198e4f3f..80e0f67d6d 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 * -- cgit v1.2.3