freedreno/a3xx: missing u_upload_destroy
authorRob Clark <robclark@freedesktop.org>
Wed, 5 Nov 2014 15:43:18 +0000 (10:43 -0500)
committerRob Clark <robclark@freedesktop.org>
Fri, 14 Nov 2014 17:07:57 +0000 (12:07 -0500)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_context.c

index 4e3b5038bed85b97fac99c004297b8668e801bf8..7e5a99ea571cd0238bbba04e71924f32505763c2 100644 (file)
@@ -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);
 }