allow GLX_SAMPLES_ARB==0 (bug 16073)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user