mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 02:50:35 +01:00
mesa: remove: unused gl_vertex_program::TnlData field
This commit is contained in:
parent
228aa45fcb
commit
e33ea11c14
2 changed files with 0 additions and 8 deletions
|
|
@ -1834,7 +1834,6 @@ struct gl_vertex_program
|
|||
struct gl_program Base; /**< base class */
|
||||
GLboolean IsNVProgram; /**< is this a GL_NV_vertex_program program? */
|
||||
GLboolean IsPositionInvariant;
|
||||
void *TnlData; /**< should probably use Base.DriverData */
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue