summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vega
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-12-02 17:26:55 +0800
committerChia-I Wu <[email protected]>2010-12-02 17:27:38 +0800
commitb950d6fa5d1a62ae81b83e20e07f373d8c777ac0 (patch)
tree51815830342675583ea90e2a58472db3f1a9c2d4 /src/gallium/state_trackers/vega
parent7528f143dfb77e3e0486006676e990964392aebf (diff)
st/vega: Destroy the pipe context with vg_context.
Diffstat (limited to 'src/gallium/state_trackers/vega')
-rw-r--r--src/gallium/state_trackers/vega/vg_manager.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vega/vg_manager.c b/src/gallium/state_trackers/vega/vg_manager.c
index d538e665dae..de935768b22 100644
--- a/src/gallium/state_trackers/vega/vg_manager.c
+++ b/src/gallium/state_trackers/vega/vg_manager.c
@@ -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 *