r600g: Delete custom_dsa_flush on shutdown.
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
This commit is contained in:
parent
c49dcaef65
commit
ecb1b8b98f
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue