diff options
author | Brian Paul <[email protected]> | 2009-09-24 13:38:27 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-24 19:34:19 -0600 |
commit | e33ea11c143596d511331aceabbf60016869c304 (patch) | |
tree | 8ec85ea84bcd4f9d9156939642fe283d3ce24290 /src/mesa/shader/program.c | |
parent | 228aa45fcbb65205937f74853801643d676db675 (diff) |
mesa: remove: unused gl_vertex_program::TnlData field
Diffstat (limited to 'src/mesa/shader/program.c')
-rw-r--r-- | src/mesa/shader/program.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c index 2cd6eb8a389..532adf4d360 100644 --- a/src/mesa/shader/program.c +++ b/src/mesa/shader/program.c @@ -351,13 +351,6 @@ _mesa_delete_program(GLcontext *ctx, struct gl_program *prog) _mesa_free_parameter_list(prog->Attributes); } - /* XXX this is a little ugly */ - if (prog->Target == GL_VERTEX_PROGRAM_ARB) { - struct gl_vertex_program *vprog = (struct gl_vertex_program *) prog; - if (vprog->TnlData) - _mesa_free(vprog->TnlData); - } - _mesa_free(prog); } |