From 528c94c6501db936882cd06338e2250a0b884b36 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 20 Feb 2018 11:03:46 -0500 Subject: [PATCH] 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 --- glx/glxdri2.c | 3 +++ 1 file changed, 3 insertions(+) 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;