summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Clark <robclark@freedesktop.org>2014-11-05 10:43:18 -0500
committerRob Clark <robclark@freedesktop.org>2014-11-14 12:07:57 -0500
commit2f024d2b1067496fad292efd2ca1b0ac9702a4dd (patch)
treeded6f0ba54bc7bdafb2231a9c3163e942e0e0170
parent28b2269ee046fb131006cd1307fdc92e1377e8dc (diff)
freedreno/a3xx: missing u_upload_destroy
Signed-off-by: Rob Clark <robclark@freedesktop.org>
-rw-r--r--src/gallium/drivers/freedreno/a3xx/fd3_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_context.c b/src/gallium/drivers/freedreno/a3xx/fd3_context.c
index 4e3b5038bed..7e5a99ea571 100644
--- a/src/gallium/drivers/freedreno/a3xx/fd3_context.c
+++ b/src/gallium/drivers/freedreno/a3xx/fd3_context.c
@@ -55,6 +55,8 @@ fd3_context_destroy(struct pipe_context *pctx)
pipe_resource_reference(&fd3_ctx->solid_vbuf, NULL);
pipe_resource_reference(&fd3_ctx->blit_texcoord_vbuf, NULL);
+ u_upload_destroy(fd3_ctx->border_color_uploader);
+
fd_context_destroy(pctx);
}