projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
st/vega: Destroy the pipe context with vg_context.
[mesa.git]
/
src
/
gallium
/
state_trackers
/
vega
/
vg_manager.c
diff --git
a/src/gallium/state_trackers/vega/vg_manager.c
b/src/gallium/state_trackers/vega/vg_manager.c
index d538e665dae5cf18cbd390d059241b1c031ad201..de935768b22cfb8111ab970788d2ddcf58b208af 100644
(file)
--- 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 *