From 7cd69b4b41e77c58eec0bbb1af3195cf6f5bd362 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")]