From 09eff39a58885bb3b8507d02920b53b4e81a66ea Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 7 Apr 2011 22:21:20 +0200 Subject: [PATCH] r600g: Unreference framebuffer state on context destruction. Signed-off-by: Henri Verbeet --- src/gallium/drivers/r600/r600_pipe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 3e24bfafe4a..2c2245b67a8 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -168,6 +168,7 @@ 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); + util_unreference_framebuffer_state(&rctx->framebuffer); r600_context_fini(&rctx->ctx); -- 2.30.2