summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/draw/draw_context.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-12-24 17:38:35 -0700
committerBrian <[email protected]>2008-01-01 10:21:21 -0700
commitf6136f993a2f06e1d4719b3e9a76187222e9a927 (patch)
tree980c75b7c3a7aec8538107ca27e24916e19ae6c5 /src/mesa/pipe/draw/draw_context.c
parenteba2e044a04da99fea2214ba10ca5981f596702e (diff)
free tgsi machine state
Diffstat (limited to 'src/mesa/pipe/draw/draw_context.c')
-rw-r--r--src/mesa/pipe/draw/draw_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_context.c b/src/mesa/pipe/draw/draw_context.c
index 179f7ed0d67..a9ff54404f6 100644
--- a/src/mesa/pipe/draw/draw_context.c
+++ b/src/mesa/pipe/draw/draw_context.c
@@ -102,6 +102,7 @@ void draw_destroy( struct draw_context *draw )
draw->pipeline.validate->destroy( draw->pipeline.validate );
if (draw->pipeline.rasterize)
draw->pipeline.rasterize->destroy( draw->pipeline.rasterize );
+ tgsi_exec_machine_free_data(&draw->machine);
FREE( draw->vcache.vertex[0] ); /* Frees all the vertices. */
FREE( draw );
}