summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/xm_api.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-10-09 19:35:11 +0000
committerBrian Paul <[email protected]>2002-10-09 19:35:11 +0000
commitf2c5296dd7c990f566187621835414c3015058a1 (patch)
treed37980f224640bf3b3934780b6ad6ee4315f1830 /src/mesa/drivers/x11/xm_api.c
parent59c5cf35c92e969f66eefd27809e72089b731701 (diff)
disable XMesaCreatePBuffer() for XFree86
Diffstat (limited to 'src/mesa/drivers/x11/xm_api.c')
-rw-r--r--src/mesa/drivers/x11/xm_api.c6
1 files changed, 5 insertions, 1 deletions
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
}