Change/fix surface allocation functions.
authorBrian <brian.paul@tungstengraphics.com>
Sat, 11 Aug 2007 20:21:12 +0000 (21:21 +0100)
committerBrian <brian.paul@tungstengraphics.com>
Sat, 11 Aug 2007 20:21:12 +0000 (21:21 +0100)
commit0095be534d633848bc12d73ed9dcc1b9aa41f00a
tree82c15888aceec77a526f2828db87f91253f4a886
parent5d42fdb9b70a53938cd29d7ebeaa4b9cedd2e8e3
Change/fix surface allocation functions.

Use xmesa_new_color_surface() for front/back renderbuffer surfaces.
Use xmesa_surface_alloc() for everything else (textures, other renderbuffers)
src/mesa/drivers/x11/xm_buffer.c
src/mesa/drivers/x11/xm_softpipe.c
src/mesa/drivers/x11/xm_surface.c
src/mesa/drivers/x11/xmesaP.h