summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-02-05 07:50:56 -0700
committerBen Skeggs <skeggsb@gmail.com>2008-02-15 13:50:30 +1100
commit7a1b2f4078789aedf16158c41682c9d28a531d20 (patch)
tree4581cb9077dc2d5ca30948372815102fa8f19bad
parent535abe4037920960b37a23392142cc556d4cbcc4 (diff)
gallium: Use align_free to free aligned memory.
-rw-r--r--src/mesa/pipe/draw/draw_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_context.c b/src/mesa/pipe/draw/draw_context.c
index 87f4969983..b15f57c824 100644
--- a/src/mesa/pipe/draw/draw_context.c
+++ b/src/mesa/pipe/draw/draw_context.c
@@ -106,7 +106,7 @@ void draw_destroy( struct draw_context *draw )
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. */
+ align_free( draw->vcache.vertex[0] ); /* Frees all the vertices. */
FREE( draw );
}