summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/xlib/xm_buffer.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-11-01 12:57:48 -0600
committerBrian <[email protected]>2007-11-01 12:57:48 -0600
commita00bd3fc2f85997d0573ea0e4773ef1e290e1128 (patch)
treef0d372801c5e6aa4ce5edc266b4165864577154c /src/mesa/pipe/xlib/xm_buffer.c
parent618089555353070f73dc8ad3b52578db3bedc294 (diff)
disable/omit renderbuffer span code
Diffstat (limited to 'src/mesa/pipe/xlib/xm_buffer.c')
-rw-r--r--src/mesa/pipe/xlib/xm_buffer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/pipe/xlib/xm_buffer.c b/src/mesa/pipe/xlib/xm_buffer.c
index cd3b498b10f..b4a05ac6855 100644
--- a/src/mesa/pipe/xlib/xm_buffer.c
+++ b/src/mesa/pipe/xlib/xm_buffer.c
@@ -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);