diff options
author | Ian Romanick <[email protected]> | 2010-07-20 15:33:40 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-07-20 17:48:25 -0700 |
commit | f38d15b80d4e4c8ecb7a76087cdc49835f0aa271 (patch) | |
tree | 2bd80b63219d43c827a19b434009c894e1e61f04 /src/glsl/ast_function.cpp | |
parent | a7ba9a7919110fd619b0e792368aa1f3534080fe (diff) |
glsl2: glsl_type has its own talloc context, don't pass one in
Diffstat (limited to 'src/glsl/ast_function.cpp')
-rw-r--r-- | src/glsl/ast_function.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glsl/ast_function.cpp b/src/glsl/ast_function.cpp index 14c36af9116..73af882c530 100644 --- a/src/glsl/ast_function.cpp +++ b/src/glsl/ast_function.cpp @@ -312,8 +312,7 @@ process_array_constructor(exec_list *instructions, if (constructor_type->length == 0) { constructor_type = - glsl_type::get_array_instance(state, - constructor_type->element_type(), + glsl_type::get_array_instance(constructor_type->element_type(), parameter_count); assert(constructor_type != NULL); assert(constructor_type->length == parameter_count); |