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

Author: José Fonseca <[email protected]>
Date:   Fri Apr 10 10:02:29 2009 +0100

stw: Free the mesa framebuffer.

---

 .../state_trackers/wgl/shared/stw_framebuffer.c    |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c 
b/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c
index fcfd44e..55dc9d6 100644
--- a/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c
+++ b/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c
@@ -235,6 +235,8 @@ stw_framebuffer_destroy(
 
    pipe_mutex_unlock( stw_dev->mutex );
 
+   st_unreference_framebuffer(fb->stfb);
+   
    FREE( fb );
 }
 

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

Reply via email to