On 14 November 2017 at 20:13, Adam Jackson <a...@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
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to