summaryrefslogtreecommitdiff
path: root/src/glsl/builtin_types.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-12-13 11:19:38 -0800
committerKenneth Graunke <kenneth@whitecape.org>2010-12-17 10:55:17 -0800
commit5c229e5fbd8ffa573ab2c1225f182036792a75af (patch)
tree38d3500d7078d7e46c8a11857b4aa277da5864d3 /src/glsl/builtin_types.h
parentdaffaca53e47faeaaefb98ca46fe4870133d9f02 (diff)
glsl: Expose a public glsl_type::void_type const pointer.
This is analogous to glsl_type::int_type and all the others.
Diffstat (limited to 'src/glsl/builtin_types.h')
-rw-r--r--src/glsl/builtin_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glsl/builtin_types.h b/src/glsl/builtin_types.h
index 443ae1606e..8ccbf6e312 100644
--- a/src/glsl/builtin_types.h
+++ b/src/glsl/builtin_types.h
@@ -24,10 +24,11 @@
const glsl_type glsl_type::_error_type =
glsl_type(GL_INVALID_ENUM, GLSL_TYPE_ERROR, 0, 0, "");
-const glsl_type glsl_type::void_type =
+const glsl_type glsl_type::_void_type =
glsl_type(GL_INVALID_ENUM, GLSL_TYPE_VOID, 0, 0, "void");
const glsl_type *const glsl_type::error_type = & glsl_type::_error_type;
+const glsl_type *const glsl_type::void_type = & glsl_type::_void_type;
/** \name Core built-in types
*