summaryrefslogtreecommitdiff
path: root/src/glsl/builtin_types.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-08-12 15:05:39 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-08-12 15:05:39 -0700
commit261bbc011d11ab9e390cd5fe9f5151821eefaffa (patch)
tree2c87248158e67fa7e1714dbb583ef3a773aceeb9 /src/glsl/builtin_types.h
parent2d83e3fa0de6e0b39307cdc67725ca88855d68d2 (diff)
glsl2: Use Elements from main/compiler.h instead of open-coding
Diffstat (limited to 'src/glsl/builtin_types.h')
-rw-r--r--src/glsl/builtin_types.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/glsl/builtin_types.h b/src/glsl/builtin_types.h
index bfa4f3f540..7b94aac666 100644
--- a/src/glsl/builtin_types.h
+++ b/src/glsl/builtin_types.h
@@ -21,10 +21,6 @@
* DEALINGS IN THE SOFTWARE.
*/
-#ifndef Elements
-#define Elements(x) (sizeof(x)/sizeof(*(x)))
-#endif
-
const glsl_type glsl_type::_error_type =
glsl_type(GL_INVALID_ENUM, GLSL_TYPE_ERROR, 0, 0, "");