[Beignet] [PATCH] Corrected return of error code in clCreateImage.

Zhigang Gong zhigang.gong at linux.intel.com
Mon May 20 22:18:48 PDT 2013


This fix is correct. Pushed, thanks.

On Mon, May 20, 2013 at 03:08:39PM +0200, Dag Lem wrote:
> 
> Signed-off-by: Dag Lem <dag at nimrod.no>
> ---
>  src/cl_api.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/cl_api.c b/src/cl_api.c
> index 3a7da05..a4e534a 100644
> --- a/src/cl_api.c
> +++ b/src/cl_api.c
> @@ -317,7 +317,7 @@ clCreateImage(cl_context context,
>                           image_format,
>                           image_desc,
>                           host_ptr,
> -                         errcode_ret);
> +                         &err);
>  error:
>    if (errcode_ret)
>      *errcode_ret = err;
> -- 
> 1.8.1.4
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list