summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-08-09 15:07:55 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-08-09 15:07:55 +0000
commitecde87054c48cc8c92c118a6efa848516bf0bf1c (patch)
tree461140e4d8b4944da834ee7bdd151626265d7c61 /src/mesa/drivers
parent24d55a1145d52d221c7aa7066e033ca34e3ddef5 (diff)
_mesa_free_framebuffer_data() call frees the renderbuffers, no need to call the Delete methods after
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/x11/xm_api.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c
index 675d2ebb54..4e71830afe 100644
--- a/src/mesa/drivers/x11/xm_api.c
+++ b/src/mesa/drivers/x11/xm_api.c
@@ -441,10 +441,6 @@ static void free_xmesa_buffer(int client, XMesaBuffer buffer)
}
_mesa_free_framebuffer_data(&buffer->mesa_buffer);
- /* delete front/back renderbuffers */
- buffer->frontxrb->Base.Delete(&(buffer->frontxrb->Base));
- if (buffer->backxrb)
- buffer->backxrb->Base.Delete(&(buffer->backxrb->Base));
_mesa_free(buffer);
return;