allow GLX_SAMPLES_ARB==0 (bug 16073)

This commit is contained in:
Brian Paul
2008-05-27 09:49:18 -06:00
parent 0ccffacee2
commit e903f51bc4
+5 -4
View File
@@ -1183,11 +1183,12 @@ choose_visual( Display *dpy, int screen, const int *list, GLboolean fbConfig )
* GLX_ARB_multisample
*/
case GLX_SAMPLE_BUFFERS_ARB:
/* ms not supported */
return NULL;
case GLX_SAMPLES_ARB:
/* ms not supported */
return NULL;
parselist++;
if (*parselist++ != 0)
/* ms not supported */
return NULL;
break;
/*
* FBConfig attribs.