From 40c7cb7e1768cd694bdfc6864cf3a55254ffce56 Mon Sep 17 00:00:00 2001 From: Brian Paul <brian.paul@tungstengraphics.com> Date: Wed, 22 Nov 2006 21:59:28 +0000 Subject: const correctness --- src/mesa/shader/slang/slang_compile_variable.c | 4 ++-- src/mesa/shader/slang/slang_compile_variable.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/shader') 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 -- cgit v1.2.3