diff options
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_context.c b/src/gallium/drivers/llvmpipe/lp_context.c index 7f92a5fe5a7..9e4c7d6734e 100644 --- a/src/gallium/drivers/llvmpipe/lp_context.c +++ b/src/gallium/drivers/llvmpipe/lp_context.c @@ -126,6 +126,8 @@ static void llvmpipe_destroy( struct pipe_context *pipe ) pipe_resource_reference(&llvmpipe->vertex_buffer[i].buffer, NULL); } + lp_delete_setup_variants(llvmpipe); + gallivm_destroy(llvmpipe->gallivm); align_free( llvmpipe ); |