draw: don't free our copy of the render stage -- just borrowing it from vbuf stage

This commit is contained in:
Keith Whitwell 2008-03-11 14:23:08 +00:00
parent ff3c7a3243
commit 5038c20795
1 changed files with 3 additions and 0 deletions

View File

@ -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 );
}