From: Tilman Sauerbeck Date: Sun, 31 Oct 2010 11:16:03 +0000 (+0100) Subject: r600g: Delete custom_dsa_flush on shutdown. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ecb1b8b98f7b2464e29e56a1f1bf87f74129ac08;p=mesa.git r600g: Delete custom_dsa_flush on shutdown. Signed-off-by: Tilman Sauerbeck --- diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index d25de556644..952c7f6b87f 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -77,6 +77,8 @@ static void r600_destroy_context(struct pipe_context *context) { struct r600_pipe_context *rctx = (struct r600_pipe_context *)context; + rctx->context.delete_depth_stencil_alpha_state(&rctx->context, rctx->custom_dsa_flush); + r600_context_fini(&rctx->ctx); for (int i = 0; i < R600_PIPE_NSTATES; i++) { free(rctx->states[i]);