From: Brian Paul Date: Wed, 9 Oct 2002 19:35:11 +0000 (+0000) Subject: disable XMesaCreatePBuffer() for XFree86 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f2c5296dd7c990f566187621835414c3015058a1;p=mesa.git disable XMesaCreatePBuffer() for XFree86 --- diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index 708e2a8a819..28837db6ca4 100644 --- a/src/mesa/drivers/x11/xm_api.c +++ b/src/mesa/drivers/x11/xm_api.c @@ -1,4 +1,4 @@ -/* $Id: xm_api.c,v 1.43 2002/10/05 18:27:41 brianp Exp $ */ +/* $Id: xm_api.c,v 1.44 2002/10/09 19:35:11 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1929,6 +1929,9 @@ XMesaBuffer XMesaCreatePixmapBuffer( XMesaVisual v, XMesaBuffer XMesaCreatePBuffer( XMesaVisual v, XMesaColormap cmap, unsigned int width, unsigned int height ) { +#ifdef XFree86Server + return 0; +#else int client = 0; XMesaWindow root; XMesaDrawable drawable; /* X Pixmap Drawable */ @@ -1975,6 +1978,7 @@ XMesaBuffer XMesaCreatePBuffer( XMesaVisual v, XMesaColormap cmap, } return b; +#endif }