diff options
author | Brian <brian@yutani.localnet.net> | 2007-01-13 14:47:48 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-01-13 14:47:48 -0700 |
commit | 5daa99d2a40fa12d51043c4e326bf62f66ef727d (patch) | |
tree | 21646a1f0b4329bc55f2a63e14a73cb034f72072 /src/mesa/shader/slang/slang_compile_function.c | |
parent | 97c7937c65ddcab2437e6b201d24bf0503a01f1b (diff) |
slang_variable_scope now stores array of pointers to slang_variables.
Diffstat (limited to 'src/mesa/shader/slang/slang_compile_function.c')
-rw-r--r-- | src/mesa/shader/slang/slang_compile_function.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_compile_function.c b/src/mesa/shader/slang/slang_compile_function.c index 58a453d4c2..3642b12e92 100644 --- a/src/mesa/shader/slang/slang_compile_function.c +++ b/src/mesa/shader/slang/slang_compile_function.c @@ -196,8 +196,8 @@ slang_function_scope_find(slang_function_scope * funcs, slang_function * fun, continue; for (j = haveRetValue; j < fun->param_count; j++) { if (!slang_type_specifier_equal - (&fun->parameters->variables[j].type.specifier, - &f->parameters->variables[j].type.specifier)) + (&fun->parameters->variables[j]->type.specifier, + &f->parameters->variables[j]->type.specifier)) break; } if (j == fun->param_count) { |