+ case WX_GL_SAMPLE_BUFFERS:
+#ifdef GLX_SAMPLE_BUFFERS_ARB
+ if ( IsGLXMultiSampleAvailable() )
+ {
+ glattrs[p++] = GLX_SAMPLE_BUFFERS_ARB;
+ break;
+ }
+#endif // GLX_SAMPLE_BUFFERS_ARB
+ // if it was specified just to disable it, no problem
+ if ( !wxattrs[arg++] )
+ continue;
+
+ // otherwise indicate that it's not supported
+ return false;
+
+ case WX_GL_SAMPLES:
+#ifdef GLX_SAMPLES_ARB
+ if ( IsGLXMultiSampleAvailable() )
+ {
+ glattrs[p++] = GLX_SAMPLES_ARB;
+ break;
+ }
+#endif // GLX_SAMPLES_ARB
+
+ if ( !wxattrs[arg++] )
+ continue;
+
+ return false;
+