[Mesa-dev] [PATCH 6/6] glx: Implement GLX_EXT_no_config_context (v3)

Emil Velikov emil.l.velikov at gmail.com
Thu Nov 30 16:10:34 UTC 2017


On 14 November 2017 at 20:13, Adam Jackson <ajax at redhat.com> wrote:

> @@ -562,6 +562,10 @@ dri2_convert_glx_attribs(unsigned num_attribs, const uint32_t *attribs,
>              return false;
>           }
>           break;
> +      case GLX_SCREEN:
> +         /* Implies GLX_EXT_no_config_context */
> +         *render_type = GLX_DONT_CARE;
> +         break;
We should fall-through (and fail) when GLX_SCREEN is set but the
extension is missing.

>        default:
>          /* If an unknown attribute is received, fail.
>           */

Emil


More information about the mesa-dev mailing list