diff options
author | Eric Anholt <[email protected]> | 2012-01-03 13:27:18 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-01-05 09:11:29 -0800 |
commit | 501e2e3b6d64de9937d397b49ad3930d4bac3083 (patch) | |
tree | 3eacd9ec19af7a6dfef3b2b425e07dbe82aebad2 /src/mesa/main/shaderobj.c | |
parent | 9d36c96d6ec9f2c05c8e0b9ef18c5462cddee8c1 (diff) |
mesa: Remove the dead Varyings list in the program.
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderobj.c')
-rw-r--r-- | src/mesa/main/shaderobj.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/main/shaderobj.c b/src/mesa/main/shaderobj.c index 454007f8353..de66851e9c9 100644 --- a/src/mesa/main/shaderobj.c +++ b/src/mesa/main/shaderobj.c @@ -286,11 +286,6 @@ _mesa_clear_shader_program_data(struct gl_context *ctx, shProg->UniformHash = NULL; } - if (shProg->Varying) { - _mesa_free_parameter_list(shProg->Varying); - shProg->Varying = NULL; - } - assert(shProg->InfoLog != NULL); ralloc_free(shProg->InfoLog); shProg->InfoLog = ralloc_strdup(shProg, ""); |