draw: don't free our copy of the render stage -- just borrowing it from vbuf stage
This commit is contained in:
parent
ff3c7a3243
commit
5038c20795
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue