From 461e300c3b97abb4051ba302a024eccd5667cf3a Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 9 Aug 2009 14:23:13 +0000 Subject: [PATCH] Fixed out ErrorCode parameters in OpenTK.Compute.CL.CreateKernel method. --- Source/OpenTK/Compute/Kernel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/OpenTK/Compute/Kernel.cs b/Source/OpenTK/Compute/Kernel.cs index 51308cb9..62c14137 100644 --- a/Source/OpenTK/Compute/Kernel.cs +++ b/Source/OpenTK/Compute/Kernel.cs @@ -42,7 +42,7 @@ namespace OpenTK.Compute [DllImport(Configuration.Library, EntryPoint = "clCreateKernel")] public static extern cl_kernel CreateKernel(cl_program program, string kernel_name, - out int errcode_ret); + out ErrorCode errcode_ret); // OpenCL 1.0 [DllImport(Configuration.Library, EntryPoint = "clCreateKernelsInProgram")]