diff options
author | Keith Whitwell <[email protected]> | 2008-03-11 14:23:08 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-03-11 14:23:08 +0000 |
commit | 5038c20795cb2e49d72c1f43a8b705056592356c (patch) | |
tree | 1519ffe0ccb2bbbf17102a42b1a46d7626aa5d2f | |
parent | ff3c7a3243e4f3fc60e6cfcfc6a2711e9ea5cf65 (diff) |
draw: don't free our copy of the render stage -- just borrowing it from vbuf stage
-rw-r--r-- | src/gallium/auxiliary/draw/draw_context.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 ); } |