On 08/08/2012 10:57 AM, Ian Romanick wrote:
> From: Ian Romanick <[email protected]>
> 
> Signed-off-by: Ian Romanick <[email protected]>
> ---
>  src/mesa/drivers/dri/common/dri_util.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/mesa/drivers/dri/common/dri_util.c 
> b/src/mesa/drivers/dri/common/dri_util.c
> index 025a14a..9f031f5 100644
> --- a/src/mesa/drivers/dri/common/dri_util.c
> +++ b/src/mesa/drivers/dri/common/dri_util.c
> @@ -243,8 +243,8 @@ dri2CreateContextAttribs(__DRIscreen *screen, int api,
>       * anything specific about this case.  However, none of the known flags
>       * have any meaning in an ES context, so this seems safe.
>       */
> -    if (mesa_api != __DRI_API_OPENGL
> -        && mesa_api != __DRI_API_OPENGL_CORE
> +    if (mesa_api != API_OPENGL
> +        && mesa_api != API_OPENGL_CORE
>          && flags != 0) {
>       *error = __DRI_CTX_ERROR_BAD_FLAG;
>       return NULL;

This series of 10 patches are:
Reviewed-by: Kenneth Graunke <[email protected]>

Nice to see support in EGL for creating modern desktop contexts.

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to