From: Brian Paul Date: Tue, 9 Aug 2005 15:07:55 +0000 (+0000) Subject: _mesa_free_framebuffer_data() call frees the renderbuffers, no need to call the Delet... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ecde87054c48cc8c92c118a6efa848516bf0bf1c;p=mesa.git _mesa_free_framebuffer_data() call frees the renderbuffers, no need to call the Delete methods after --- diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index 675d2ebb548..4e71830afe5 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;