mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 12:35:28 +00:00
Fixed out ErrorCode parameters in OpenTK.Compute.CL.CreateBuffer and CreateImage2D[23]D methods.
This commit is contained in:
parent
461e300c3b
commit
d177be4b19
|
@ -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")]
|
||||
|
|
Loading…
Reference in a new issue