From: Brian Paul Date: Wed, 22 Nov 2006 21:59:28 +0000 (+0000) Subject: const correctness X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=40c7cb7e1768cd694bdfc6864cf3a55254ffce56;p=mesa.git const correctness --- diff --git a/src/mesa/shader/slang/slang_compile_variable.c b/src/mesa/shader/slang/slang_compile_variable.c index 928c752d14f..92951b85bbc 100644 --- a/src/mesa/shader/slang/slang_compile_variable.c +++ b/src/mesa/shader/slang/slang_compile_variable.c @@ -247,8 +247,8 @@ slang_variable_copy(slang_variable * x, const slang_variable * y) } slang_variable * -_slang_locate_variable(slang_variable_scope * scope, slang_atom a_name, - GLboolean all) +_slang_locate_variable(const slang_variable_scope * scope, + const slang_atom a_name, GLboolean all) { GLuint i; diff --git a/src/mesa/shader/slang/slang_compile_variable.h b/src/mesa/shader/slang/slang_compile_variable.h index 626e424e797..2f358860f82 100644 --- a/src/mesa/shader/slang/slang_compile_variable.h +++ b/src/mesa/shader/slang/slang_compile_variable.h @@ -115,7 +115,7 @@ extern int slang_variable_copy(slang_variable *, const slang_variable *); extern slang_variable * -_slang_locate_variable(slang_variable_scope *, slang_atom a_name, +_slang_locate_variable(const slang_variable_scope *, const slang_atom a_name, GLboolean all); extern GLboolean