summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-11-22 21:59:28 +0000
committerBrian Paul <[email protected]>2006-11-22 21:59:28 +0000
commit40c7cb7e1768cd694bdfc6864cf3a55254ffce56 (patch)
tree41be38128dd68d96848c1ce3025fa2a766c285e6 /src
parent98ea0a3f1fe0cff912e4f6ac74c4d88a7eb905bf (diff)
const correctness
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/slang/slang_compile_variable.c4
-rw-r--r--src/mesa/shader/slang/slang_compile_variable.h2
2 files changed, 3 insertions, 3 deletions
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