Signed-off-by: Zhigang Gong <zhigang.g...@linux.intel.com> --- src/cl_api.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/cl_api.c b/src/cl_api.c index 30d0b11..7fe736e 100644 --- a/src/cl_api.c +++ b/src/cl_api.c @@ -1507,6 +1507,7 @@ clEnqueueWriteImage(cl_command_queue command_queue, data->region[0] = region[0]; data->region[1] = region[1]; data->region[2] = region[2]; data->row_pitch = row_pitch; data->slice_pitch = slice_pitch; + data->ptr = ptr; if(handle_events(command_queue, num_events_in_wait_list, event_wait_list, event, data, CL_COMMAND_WRITE_IMAGE) == CL_ENQUEUE_EXECUTE_IMM) { -- 1.7.9.5 _______________________________________________ Beignet mailing list Beignet@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/beignet