From 3654193a4d417560c90b4bbe47d8070919cdc348 Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Sat, 18 Feb 2006 15:11:18 +0000 Subject: More GLSL code. - general constructors allowed; - implement noise functions (from Stefan Gustavson - thanks!) - cosmetic stuff. --- src/mesa/shader/slang/slang_compile_variable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/shader/slang/slang_compile_variable.c') diff --git a/src/mesa/shader/slang/slang_compile_variable.c b/src/mesa/shader/slang/slang_compile_variable.c index da3b24fb7e..ff042bb65f 100644 --- a/src/mesa/shader/slang/slang_compile_variable.c +++ b/src/mesa/shader/slang/slang_compile_variable.c @@ -352,9 +352,9 @@ int slang_variable_copy (slang_variable *x, const slang_variable *y) return 1; } -slang_variable *_slang_locate_variable (slang_variable_scope *scope, slang_atom a_name, int all) +slang_variable *_slang_locate_variable (slang_variable_scope *scope, slang_atom a_name, GLboolean all) { - unsigned int i; + GLuint i; for (i = 0; i < scope->num_variables; i++) if (a_name == scope->variables[i].a_name) -- cgit v1.2.3