{
struct fd3_context *fd3_ctx = fd3_context(fd_context(pctx));
+ u_upload_destroy(fd3_ctx->border_color_uploader);
+
fd_context_destroy(pctx);
fd_bo_del(fd3_ctx->vs_pvt_mem);
fd_context_cleanup_common_vbos(&fd3_ctx->base);
- u_upload_destroy(fd3_ctx->border_color_uploader);
-
fd_hw_query_fini(pctx);
free(fd3_ctx);
{
struct fd4_context *fd4_ctx = fd4_context(fd_context(pctx));
+ u_upload_destroy(fd4_ctx->border_color_uploader);
+
fd_context_destroy(pctx);
fd_bo_del(fd4_ctx->vs_pvt_mem);
fd_context_cleanup_common_vbos(&fd4_ctx->base);
- u_upload_destroy(fd4_ctx->border_color_uploader);
-
fd_hw_query_fini(pctx);
free(fd4_ctx);
{
struct fd5_context *fd5_ctx = fd5_context(fd_context(pctx));
+ u_upload_destroy(fd5_ctx->border_color_uploader);
+
fd_context_destroy(pctx);
fd_bo_del(fd5_ctx->vs_pvt_mem);
fd_context_cleanup_common_vbos(&fd5_ctx->base);
- u_upload_destroy(fd5_ctx->border_color_uploader);
-
free(fd5_ctx);
}
{
struct fd6_context *fd6_ctx = fd6_context(fd_context(pctx));
+ u_upload_destroy(fd6_ctx->border_color_uploader);
+
fd_context_destroy(pctx);
fd_bo_del(fd6_ctx->vs_pvt_mem);
fd_context_cleanup_common_vbos(&fd6_ctx->base);
- u_upload_destroy(fd6_ctx->border_color_uploader);
-
free(fd6_ctx);
}