diff options
author | Nian Wu <[email protected]> | 2007-03-26 17:00:29 +0800 |
---|---|---|
committer | Nian Wu <[email protected]> | 2007-03-26 17:00:29 +0800 |
commit | ee9bc897f8ea361539c5f422fdecc2326271e673 (patch) | |
tree | 42396ed93352516dc1da6cb23c5b82679fb5ce47 /src/mesa/drivers/x11 | |
parent | 1b354bb5e4c4524533a8f2c3293df73a403e011a (diff) | |
parent | 42aaa548a1020be5d40b3dce9448d8004b1ef947 (diff) |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r-- | src/mesa/drivers/x11/xm_buffer.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mesa/drivers/x11/xm_buffer.c b/src/mesa/drivers/x11/xm_buffer.c index c1fa23328f0..bb8fe31ce88 100644 --- a/src/mesa/drivers/x11/xm_buffer.c +++ b/src/mesa/drivers/x11/xm_buffer.c @@ -422,18 +422,6 @@ xmesa_delete_framebuffer(struct gl_framebuffer *fb) XMesaDestroyImage( b->rowimage ); } - /* Note that XMesaBuffer renderbuffers normally have a refcount of 2 - * (creation + binding) so we need to explicitly delete/unbind them here. - */ - if (b->frontxrb) { - _mesa_unreference_renderbuffer((struct gl_renderbuffer **) &b->frontxrb); - ASSERT(b->frontxrb == NULL); - } - if (b->backxrb) { - _mesa_unreference_renderbuffer((struct gl_renderbuffer **) &b->backxrb); - ASSERT(b->backxrb == NULL); - } - _mesa_free_framebuffer_data(fb); _mesa_free(fb); } |