[Beignet] [PATCH] Corrected return of error code in clCreateImage.
Dag Lem
dag at nimrod.no
Mon May 20 06:08:39 PDT 2013
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
More information about the Beignet
mailing list