diff options
author | Adam Jackson <ajax@redhat.com> | 2018-02-20 11:03:46 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-02-26 10:18:58 -0500 |
commit | 528c94c6501db936882cd06338e2250a0b884b36 (patch) | |
tree | aeb9de86f7b6f9d772a7709f3cf0eb0072bc06df /glx | |
parent | a63ab81f6be7ad46b7e2d98a50aef4da5e664847 (diff) | |
download | xserver-528c94c6501db936882cd06338e2250a0b884b36.tar.gz |
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>
Diffstat (limited to 'glx')
-rw-r--r-- | glx/glxdri2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/glx/glxdri2.c b/glx/glxdri2.c index 25ee9acf9..d402ca860 100644 --- a/glx/glxdri2.c +++ b/glx/glxdri2.c @@ -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; |