projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c008a0
)
use _mesa_clear_shader_program_data()
author
Brian
<brian@yutani.localnet.net>
Thu, 12 Apr 2007 21:22:53 +0000
(15:22 -0600)
committer
Brian
<brian@yutani.localnet.net>
Thu, 12 Apr 2007 21:22:53 +0000
(15:22 -0600)
src/mesa/shader/slang/slang_link.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_link.c
b/src/mesa/shader/slang/slang_link.c
index 0cad69d4100166c31d8f842c5334b5b8090c9197..20c66909b279b623808f100b8686431f6e96f485 100644
(file)
--- 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();