From: Keith Whitwell Date: Tue, 11 Mar 2008 14:23:08 +0000 (+0000) Subject: draw: don't free our copy of the render stage -- just borrowing it from vbuf stage X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5038c20795cb2e49d72c1f43a8b705056592356c;p=mesa.git draw: don't free our copy of the render stage -- just borrowing it from vbuf stage --- diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c index bb64b50a177..fed2b6e759a 100644 --- a/src/gallium/auxiliary/draw/draw_context.c +++ b/src/gallium/auxiliary/draw/draw_context.c @@ -116,8 +116,11 @@ void draw_destroy( struct draw_context *draw ) tgsi_exec_machine_free_data(&draw->machine); align_free( draw->vs.queue[0].vertex ); /* Frees all the vertices. */ + /* Not so fast -- we're just borrowing this at the moment. + * if (draw->render) draw->render->destroy( draw->render ); + */ FREE( draw ); }