glx: Fix indirect no-config contexts

We would throw BadValue here for the GLX_SCREEN attribute. The upper
dispatch layer already checks this, we can ignore it here.

Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson 2018-02-20 11:03:46 -05:00
parent a63ab81f6b
commit 528c94c650

View File

@ -402,6 +402,9 @@ dri2_convert_glx_attribs(__GLXDRIscreen *screen, unsigned num_attribs,
return FALSE;
}
break;
case GLX_SCREEN:
/* already checked for us */
break;
case GLX_CONTEXT_OPENGL_NO_ERROR_ARB:
/* ignore */
break;