minor multi-sample clean-ups
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 5 Nov 2002 21:11:18 +0000 (21:11 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 5 Nov 2002 21:11:18 +0000 (21:11 +0000)
src/mesa/drivers/x11/fakeglx.c

index 489ba77c6bb3a5bf2b14e2d9e3cb8980b2ac6ece..92a3c35c9e1f746e22974ecb43b8cc298489b987 100644 (file)
@@ -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
@@ -1048,6 +1048,16 @@ static XMesaVisual choose_visual( Display *dpy, int screen, const int *list )
             caveat = *parselist++; /* ignored for now */
             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.
           */
@@ -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;