diff options
author | Ian Romanick <[email protected]> | 2011-08-18 15:43:50 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-10-04 13:17:48 -0700 |
commit | 35613afee3e038b70ada210b2dfbbc9abc883f4f (patch) | |
tree | d6500dd6b37736e13adc5b3a6f225b8f8f5d52c4 /src/mesa/program/program.c | |
parent | 24409ba1968cc49cbde6a111464c91271babc68a (diff) |
mesa: Remove unused gl_program::Attributes
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/program/program.c')
-rw-r--r-- | src/mesa/program/program.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c index bdab30466cc..4d6c60b9d6c 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -394,9 +394,6 @@ _mesa_delete_program(struct gl_context *ctx, struct gl_program *prog) if (prog->Parameters) { _mesa_free_parameter_list(prog->Parameters); } - if (prog->Attributes) { - _mesa_free_parameter_list(prog->Attributes); - } free(prog); } @@ -519,8 +516,6 @@ _mesa_clone_program(struct gl_context *ctx, const struct gl_program *prog) if (prog->Parameters) clone->Parameters = _mesa_clone_parameter_list(prog->Parameters); memcpy(clone->LocalParams, prog->LocalParams, sizeof(clone->LocalParams)); - if (prog->Attributes) - clone->Attributes = _mesa_clone_parameter_list(prog->Attributes); memcpy(clone->LocalParams, prog->LocalParams, sizeof(clone->LocalParams)); clone->IndirectRegisterFiles = prog->IndirectRegisterFiles; clone->NumInstructions = prog->NumInstructions; |