From 5c229e5fbd8ffa573ab2c1225f182036792a75af Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 13 Dec 2010 11:19:38 -0800 Subject: glsl: Expose a public glsl_type::void_type const pointer. This is analogous to glsl_type::int_type and all the others. --- src/glsl/glsl_types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/glsl/glsl_types.h') diff --git a/src/glsl/glsl_types.h b/src/glsl/glsl_types.h index d62d493c8e..57e7b09d98 100644 --- a/src/glsl/glsl_types.h +++ b/src/glsl/glsl_types.h @@ -142,6 +142,7 @@ struct glsl_type { */ /*@{*/ static const glsl_type *const error_type; + static const glsl_type *const void_type; static const glsl_type *const int_type; static const glsl_type *const ivec4_type; static const glsl_type *const uint_type; @@ -424,7 +425,7 @@ private: */ /*@{*/ static const glsl_type _error_type; - static const glsl_type void_type; + static const glsl_type _void_type; static const glsl_type builtin_core_types[]; static const glsl_type builtin_structure_types[]; static const glsl_type builtin_110_deprecated_structure_types[]; -- cgit v1.2.3