summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-11-05 21:11:18 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-11-05 21:11:18 +0000
commit66ab7271016615cf485fb0b71832833d2e0f99a7 (patch)
tree525eac4eea846c0ef3c423bb6ca9d4dbe1604daf
parent25af66a67f6968d29e5a4bed33a41406ff870085 (diff)
minor multi-sample clean-ups
-rw-r--r--src/mesa/drivers/x11/fakeglx.c18
1 files changed, 14 insertions, 4 deletions
diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c
index 489ba77c6b..92a3c35c9e 100644
--- a/src/mesa/drivers/x11/fakeglx.c
+++ b/src/mesa/drivers/x11/fakeglx.c
@@ -1,4 +1,4 @@
-/* $Id: fakeglx.c,v 1.73 2002/10/30 20:24:45 brianp Exp $ */
+/* $Id: fakeglx.c,v 1.74 2002/11/05 21:11:18 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1049,6 +1049,16 @@ static XMesaVisual choose_visual( Display *dpy, int screen, const int *list )
break;
/*
+ * GLX_ARB_multisample
+ */
+ case GLX_SAMPLE_BUFFERS_ARB:
+ /* ms not supported */
+ return NULL;
+ case GLX_SAMPLES_ARB:
+ /* ms not supported */
+ return NULL;
+
+ /*
* FBConfig attribs.
*/
case GLX_RENDER_TYPE:
@@ -1622,12 +1632,12 @@ get_config( XMesaVisual xmvis, int attrib, int *value, GLboolean fbconfig )
return 0;
/*
- * GLX_EXT_multisample
+ * GLX_ARB_multisample
*/
- case GLX_SAMPLE_BUFFERS_SGIS:
+ case GLX_SAMPLE_BUFFERS_ARB:
*value = 0;
return 0;
- case GLX_SAMPLES_SGIS:
+ case GLX_SAMPLES_ARB:
*value = 0;
return 0;