summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vertex.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-01-12 19:38:41 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-01-12 19:38:41 +0000
commit0aca086f7a8d13efa548753c6c7836a98719dbde (patch)
treed809107d2c6a3bf433fc31b62ef18f90861b83dd /src/mesa/tnl/t_vertex.c
parent8e46534b3b776f1dd0f96fc6ba5244f16a2868ab (diff)
free buffer in t_vertex_c.c on context delete
Diffstat (limited to 'src/mesa/tnl/t_vertex.c')
-rw-r--r--src/mesa/tnl/t_vertex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_vertex.c b/src/mesa/tnl/t_vertex.c
index 2ed4c41759..bc60665bbd 100644
--- a/src/mesa/tnl/t_vertex.c
+++ b/src/mesa/tnl/t_vertex.c
@@ -1442,4 +1442,6 @@ void _tnl_free_vertices( GLcontext *ctx )
ALIGN_FREE(vtx->vertex_buf);
vtx->vertex_buf = 0;
}
+
+ _tnl_free_c_codegen( &vtx->codegen );
}