From d177be4b19e31895b92b631a8c89f0fce9ed86a2 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 9 Aug 2009 14:29:17 +0000 Subject: [PATCH] Fixed out ErrorCode parameters in OpenTK.Compute.CL.CreateBuffer and CreateImage2D[23]D methods. --- Source/OpenTK/Compute/Memory.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/OpenTK/Compute/Memory.cs b/Source/OpenTK/Compute/Memory.cs index 671af474..c76418ff 100644 --- a/Source/OpenTK/Compute/Memory.cs +++ b/Source/OpenTK/Compute/Memory.cs @@ -43,7 +43,7 @@ namespace OpenTK.Compute MemFlags flags, /* size_t */ IntPtr size, /* void * */ IntPtr host_ptr, - out int errcode_ret); + out ErrorCode errcode_ret); // OpenCL 1.0 [DllImport(Configuration.Library, EntryPoint = "clCreateImage2D")] @@ -54,7 +54,7 @@ namespace OpenTK.Compute /* size_t */ IntPtr image_height, /* size_t */ IntPtr image_row_pitch, /* void * */ IntPtr host_ptr, - out int errcode_ret); + out ErrorCode errcode_ret); // OpenCL 1.0 [DllImport(Configuration.Library, EntryPoint = "clCreateImage3D")] @@ -66,7 +66,7 @@ namespace OpenTK.Compute /* size_t */ IntPtr image_row_pitch, /* size_t */ IntPtr image_slice_pitch, /* void * */ IntPtr host_ptr, - out int errcode_ret); + out ErrorCode errcode_ret); // OpenCL 1.0 [DllImport(Configuration.Library, EntryPoint = "clRetainMemObject")]