summaryrefslogtreecommitdiff
path: root/src/glsl/builtin_types.h
diff options
context:
space:
mode:
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, "");