Fixed out ErrorCode parameters in OpenTK.Compute.CL.CreateBuffer and CreateImage2D[23]D methods.

This commit is contained in:
the_fiddler 2009-08-09 14:29:17 +00:00
parent 461e300c3b
commit d177be4b19

View file

@ -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")]