mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 12:55:41 +00:00
Fixed out ErrorCode parameters in OpenTK.Compute.CL.CreateKernel method.
This commit is contained in:
parent
e4f3fcb55e
commit
461e300c3b
|
@ -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")]
|
||||||
|
|
Loading…
Reference in a new issue