mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user