On 30 June 2017 at 15:44, Brian Paul <bri...@vmware.com> wrote:
> ---
>  src/xdemos/glinfo_common.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/src/xdemos/glinfo_common.c b/src/xdemos/glinfo_common.c
> index fe7b9c9..413a3e0 100644
> --- a/src/xdemos/glinfo_common.c
> +++ b/src/xdemos/glinfo_common.c
> @@ -721,6 +721,12 @@ context_flags_string(int mask)
>  #ifdef GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB
>        { GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB, "robust-access" },
>  #endif
> +#ifdef GL_CONTEXT_FLAG_DEBUG_BIT
> +      { GL_CONTEXT_FLAG_DEBUG_BIT, "debug" },
> +#endif
> +#ifdef GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR
> +      { GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR, "no-error" },
> +#endif

IMHO a better solution is to add fall-back defines analogous to the WGL patch.
Otherwise as build server uses old headers (as they do), the flag
won't be printed when ran on capable/enabled systems.

-Emil
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to