remove some old code that could cause infinite recursion
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 16 Oct 2006 16:39:54 +0000 (16:39 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 16 Oct 2006 16:39:54 +0000 (16:39 +0000)
src/mesa/drivers/x11/xm_buffer.c

index 98ae372e1625dc9b33cfc95f0931090d701deaf0..490c4796767eb08af5fae5341568ca7471eaddfc 100644 (file)
@@ -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;
    }