aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-04-12 15:22:53 -0600
committerBrian <[email protected]>2007-04-12 15:22:53 -0600
commit431d650f2b2969951cdc66822d1652da1bf6c286 (patch)
tree91af1198a82ea6876d608dd69d8caf8e06c83372
parent3c008a014f7c1d14209b70b4b030bf7738aa16d7 (diff)
use _mesa_clear_shader_program_data()
-rw-r--r--src/mesa/shader/slang/slang_link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_link.c b/src/mesa/shader/slang/slang_link.c
index 0cad69d4100..20c66909b27 100644
--- a/src/mesa/shader/slang/slang_link.c
+++ b/src/mesa/shader/slang/slang_link.c
@@ -475,7 +475,7 @@ _slang_link(GLcontext *ctx,
const struct gl_fragment_program *fragProg;
GLuint i;
- _mesa_free_shader_program_data(ctx, shProg);
+ _mesa_clear_shader_program_data(ctx, shProg);
shProg->Uniforms = _mesa_new_parameter_list();
shProg->Varying = _mesa_new_parameter_list();