[waffle] [PATCH 10/10] glx: glx_context_create_native returns GLXContext not bool

Chad Versace chad.versace at intel.com
Thu Jun 5 23:27:39 PDT 2014


On Sat, May 31, 2014 at 03:22:08AM +0100, Emil Velikov wrote:
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>  src/waffle/glx/glx_context.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/waffle/glx/glx_context.c b/src/waffle/glx/glx_context.c
> index c7a7d91..62573dc 100644
> --- a/src/waffle/glx/glx_context.c
> +++ b/src/waffle/glx/glx_context.c
> @@ -167,7 +167,7 @@ glx_context_create_native(struct glx_config *config,
>  
>          ok = glx_context_fill_attrib_list(config, attrib_list);
>          if (!ok)
> -            return false;
> +            return NULL;
>  
>          ctx = wrapped_glXCreateContextAttribsARB(platform,
>                                                   dpy->x11.xlib,
> -- 

Reviewed-by: Chad Versace <chad.versace at linux.intel.com>



More information about the waffle mailing list