st/vega: Destroy the pipe context with vg_context.

This commit is contained in:
Chia-I Wu 2010-12-02 17:26:55 +08:00
parent 7528f143df
commit b950d6fa5d

View file

@ -152,7 +152,10 @@ static void
vg_context_destroy(struct st_context_iface *stctxi)
{
struct vg_context *ctx = (struct vg_context *) stctxi;
struct pipe_context *pipe = ctx->pipe;
vg_destroy_context(ctx);
pipe->destroy(pipe);
}
static struct st_context_iface *