summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-10-16 16:39:54 +0000
committerBrian Paul <[email protected]>2006-10-16 16:39:54 +0000
commitdc8a0d19368a235ebd0fe86ce7b7142dfa911dff (patch)
treea3bce58a103c451f33b43b15038bc9bee30c2d3e
parent80fcbca7dff099be352a9b6237e05a02e321ef26 (diff)
remove some old code that could cause infinite recursion
-rw-r--r--src/mesa/drivers/x11/xm_buffer.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/drivers/x11/xm_buffer.c b/src/mesa/drivers/x11/xm_buffer.c
index 98ae372e162..490c4796767 100644
--- a/src/mesa/drivers/x11/xm_buffer.c
+++ b/src/mesa/drivers/x11/xm_buffer.c
@@ -213,13 +213,6 @@ alloc_back_buffer(XMesaBuffer b, GLuint width, GLuint height)
XMesaDestroyImage(b->backxrb->ximage);
b->backxrb->ximage = NULL;
}
- else {
- /* this call just updates the width/origin fields in the xrb */
- b->backxrb->Base.AllocStorage(NULL, &b->backxrb->Base,
- b->backxrb->Base.InternalFormat,
- b->backxrb->ximage->width,
- b->backxrb->ximage->height);
- }
}
b->backxrb->pixmap = None;
}