mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 13:15:32 +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,
|
MemFlags flags,
|
||||||
/* size_t */ IntPtr size,
|
/* size_t */ IntPtr size,
|
||||||
/* void * */ IntPtr host_ptr,
|
/* void * */ IntPtr host_ptr,
|
||||||
out int errcode_ret);
|
out ErrorCode errcode_ret);
|
||||||
|
|
||||||
// OpenCL 1.0
|
// OpenCL 1.0
|
||||||
[DllImport(Configuration.Library, EntryPoint = "clCreateImage2D")]
|
[DllImport(Configuration.Library, EntryPoint = "clCreateImage2D")]
|
||||||
|
@ -54,7 +54,7 @@ namespace OpenTK.Compute
|
||||||
/* size_t */ IntPtr image_height,
|
/* size_t */ IntPtr image_height,
|
||||||
/* size_t */ IntPtr image_row_pitch,
|
/* size_t */ IntPtr image_row_pitch,
|
||||||
/* void * */ IntPtr host_ptr,
|
/* void * */ IntPtr host_ptr,
|
||||||
out int errcode_ret);
|
out ErrorCode errcode_ret);
|
||||||
|
|
||||||
// OpenCL 1.0
|
// OpenCL 1.0
|
||||||
[DllImport(Configuration.Library, EntryPoint = "clCreateImage3D")]
|
[DllImport(Configuration.Library, EntryPoint = "clCreateImage3D")]
|
||||||
|
@ -66,7 +66,7 @@ namespace OpenTK.Compute
|
||||||
/* size_t */ IntPtr image_row_pitch,
|
/* size_t */ IntPtr image_row_pitch,
|
||||||
/* size_t */ IntPtr image_slice_pitch,
|
/* size_t */ IntPtr image_slice_pitch,
|
||||||
/* void * */ IntPtr host_ptr,
|
/* void * */ IntPtr host_ptr,
|
||||||
out int errcode_ret);
|
out ErrorCode errcode_ret);
|
||||||
|
|
||||||
// OpenCL 1.0
|
// OpenCL 1.0
|
||||||
[DllImport(Configuration.Library, EntryPoint = "clRetainMemObject")]
|
[DllImport(Configuration.Library, EntryPoint = "clRetainMemObject")]
|
||||||
|
|
Loading…
Reference in a new issue