diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-31 14:37:42 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-31 14:37:42 -0700 |
commit | 0bf381016524ac58f5961877ea0e8651c4922ca3 (patch) | |
tree | 5d19c7cf9e8967e12ccdc0996083e8baff0c519d /glsl_types.h | |
parent | 0ed61257253fc0df1dde9042cb0e7fe22d58077a (diff) |
glsl_type array constructor generate a real name for the type
Diffstat (limited to 'glsl_types.h')
-rw-r--r-- | glsl_types.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/glsl_types.h b/glsl_types.h index 6f3b512f28..23a04fbe9d 100644 --- a/glsl_types.h +++ b/glsl_types.h @@ -309,16 +309,8 @@ private: /** * Constructor for array types */ - glsl_type(const glsl_type *array, unsigned length) : - base_type(GLSL_TYPE_ARRAY), - sampler_dimensionality(0), sampler_shadow(0), sampler_array(0), - sampler_type(0), - vector_elements(0), matrix_columns(0), - name(NULL), length(length) - { - this->fields.array = array; - this->name = "<array>"; - } + glsl_type(const glsl_type *array, unsigned length); + /** * \name Pointers to various private type singletons |