diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-07-20 15:33:40 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-07-20 17:48:25 -0700 |
commit | f38d15b80d4e4c8ecb7a76087cdc49835f0aa271 (patch) | |
tree | 2bd80b63219d43c827a19b434009c894e1e61f04 /src/glsl/glsl_types.h | |
parent | a7ba9a7919110fd619b0e792368aa1f3534080fe (diff) |
glsl2: glsl_type has its own talloc context, don't pass one in
Diffstat (limited to 'src/glsl/glsl_types.h')
-rw-r--r-- | src/glsl/glsl_types.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/glsl/glsl_types.h b/src/glsl/glsl_types.h index 8ba9b5ff63..69fb9e3fb5 100644 --- a/src/glsl/glsl_types.h +++ b/src/glsl/glsl_types.h @@ -197,8 +197,7 @@ struct glsl_type { /** * Get the instance of an array type */ - static const glsl_type *get_array_instance(void *ctx, - const glsl_type *base, + static const glsl_type *get_array_instance(const glsl_type *base, unsigned elements); /** @@ -412,7 +411,7 @@ private: const char *name); /** Constructor for array types */ - glsl_type(void *ctx, const glsl_type *array, unsigned length); + glsl_type(const glsl_type *array, unsigned length); /** Hash table containing the known array types. */ static struct hash_table *array_types; |