mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 06:30:11 +01:00
disable/omit renderbuffer span code
This commit is contained in:
parent
6180895553
commit
a00bd3fc2f
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue