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:
parent
a63ab81f6b
commit
528c94c650
|
@ -402,6 +402,9 @@ dri2_convert_glx_attribs(__GLXDRIscreen *screen, unsigned num_attribs,
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case GLX_SCREEN:
|
||||||
|
/* already checked for us */
|
||||||
|
break;
|
||||||
case GLX_CONTEXT_OPENGL_NO_ERROR_ARB:
|
case GLX_CONTEXT_OPENGL_NO_ERROR_ARB:
|
||||||
/* ignore */
|
/* ignore */
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user