Fixed out ErrorCode parameters in OpenTK.Compute.CL.CreateKernel method.

This commit is contained in:
the_fiddler 2009-08-09 14:23:13 +00:00
parent e4f3fcb55e
commit 461e300c3b

View file

@ -42,7 +42,7 @@ namespace OpenTK.Compute
[DllImport(Configuration.Library, EntryPoint = "clCreateKernel")] [DllImport(Configuration.Library, EntryPoint = "clCreateKernel")]
public static extern cl_kernel CreateKernel(cl_program program, public static extern cl_kernel CreateKernel(cl_program program,
string kernel_name, string kernel_name,
out int errcode_ret); out ErrorCode errcode_ret);
// OpenCL 1.0 // OpenCL 1.0
[DllImport(Configuration.Library, EntryPoint = "clCreateKernelsInProgram")] [DllImport(Configuration.Library, EntryPoint = "clCreateKernelsInProgram")]