From 13e8deebc0a18d77492051b25534bbc5935cc40f Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 9 Aug 2009 14:20:49 +0000 Subject: [PATCH] Fixed out ErrorCode parameters in OpenTK.Compute.CL.CreateProgram* methods. --- Source/OpenTK/Compute/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/OpenTK/Compute/Program.cs b/Source/OpenTK/Compute/Program.cs index ccd27b90..a478af05 100644 --- a/Source/OpenTK/Compute/Program.cs +++ b/Source/OpenTK/Compute/Program.cs @@ -46,7 +46,7 @@ namespace OpenTK.Compute int count, string[] strings, IntPtr[] lengths, - out int errcode_ret); + out ErrorCode errcode_ret); // OpenCL 1.0 [DllImport(Configuration.Library, EntryPoint = "clCreateProgramWithBinary")] @@ -56,7 +56,7 @@ namespace OpenTK.Compute IntPtr[] lengths, byte[][] binaries, out int binary_status, - out int errcode_ret); + out ErrorCode errcode_ret); // OpenCL 1.0 [DllImport(Configuration.Library, EntryPoint = "clRetainProgram")]