Module: Mesa
Branch: master
Commit: 09eff39a58885bb3b8507d02920b53b4e81a66ea
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=09eff39a58885bb3b8507d02920b53b4e81a66ea

Author: Henri Verbeet <[email protected]>
Date:   Thu Apr  7 22:21:20 2011 +0200

r600g: Unreference framebuffer state on context destruction.

Signed-off-by: Henri Verbeet <[email protected]>

---

 src/gallium/drivers/r600/r600_pipe.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_pipe.c 
b/src/gallium/drivers/r600/r600_pipe.c
index 3e24bfa..2c2245b 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);
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to