disable/omit renderbuffer span code
authorBrian <brian.paul@tungstengraphics.com>
Thu, 1 Nov 2007 18:57:48 +0000 (12:57 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 1 Nov 2007 18:57:48 +0000 (12:57 -0600)
src/mesa/pipe/xlib/xm_buffer.c

index cd3b498b10f90e55a5f35595014a300a711ecb9c..b4a05ac6855707aa4ffdb3092731d18a51c61358 100644 (file)
@@ -289,8 +289,10 @@ xmesa_alloc_front_storage(GLcontext *ctx, struct gl_renderbuffer *rb,
    if (!xrb->St.surface || !xrb->St.surface->region)
       finish_surface_init(ctx, xrb);
 
+#if 0
    xmesa_set_renderbuffer_funcs(xrb, xmesa->pixelformat,
                                 xmesa->xm_visual->BitsPerPixel);
+#endif
 
    /* surface info */
    xms->surface.width = width;
@@ -351,8 +353,10 @@ xmesa_alloc_back_storage(GLcontext *ctx, struct gl_renderbuffer *rb,
       xrb->origin4 = NULL;
    }
 
+#if 0
    xmesa_set_renderbuffer_funcs(xrb, xmesa->pixelformat,
                                 xmesa->xm_visual->BitsPerPixel);
+#endif
 
    if (!xrb->St.surface || !xrb->St.surface->region)
       finish_surface_init(ctx, xrb);