aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_reader.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-07-20 15:33:40 -0700
committerIan Romanick <[email protected]>2010-07-20 17:48:25 -0700
commitf38d15b80d4e4c8ecb7a76087cdc49835f0aa271 (patch)
tree2bd80b63219d43c827a19b434009c894e1e61f04 /src/glsl/ir_reader.cpp
parenta7ba9a7919110fd619b0e792368aa1f3534080fe (diff)
glsl2: glsl_type has its own talloc context, don't pass one in
Diffstat (limited to 'src/glsl/ir_reader.cpp')
-rw-r--r--src/glsl/ir_reader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_reader.cpp b/src/glsl/ir_reader.cpp
index ed68496587a..8b4be4100b0 100644
--- a/src/glsl/ir_reader.cpp
+++ b/src/glsl/ir_reader.cpp
@@ -138,7 +138,7 @@ read_type(_mesa_glsl_parse_state *st, s_expression *expr)
return NULL;
}
- return glsl_type::get_array_instance(st, base_type, size->value());
+ return glsl_type::get_array_instance(base_type, size->value());
} else if (strcmp(type_sym->value(), "struct") == 0) {
assert(false); // FINISHME
} else {