mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-06-29 03:49:33 +00:00
Fixed out ErrorCode parameters in OpenTK.Compute.CL.CreateProgram* methods.
This commit is contained in:
parent
5408787be8
commit
e4f3fcb55e
|
@ -46,7 +46,7 @@ namespace OpenTK.Compute
|
||||||
int count,
|
int count,
|
||||||
string[] strings,
|
string[] strings,
|
||||||
IntPtr[] lengths,
|
IntPtr[] lengths,
|
||||||
out int errcode_ret);
|
out ErrorCode errcode_ret);
|
||||||
|
|
||||||
// OpenCL 1.0
|
// OpenCL 1.0
|
||||||
[DllImport(Configuration.Library, EntryPoint = "clCreateProgramWithBinary")]
|
[DllImport(Configuration.Library, EntryPoint = "clCreateProgramWithBinary")]
|
||||||
|
@ -56,7 +56,7 @@ namespace OpenTK.Compute
|
||||||
IntPtr[] lengths,
|
IntPtr[] lengths,
|
||||||
byte[][] binaries,
|
byte[][] binaries,
|
||||||
out int binary_status,
|
out int binary_status,
|
||||||
out int errcode_ret);
|
out ErrorCode errcode_ret);
|
||||||
|
|
||||||
// OpenCL 1.0
|
// OpenCL 1.0
|
||||||
[DllImport(Configuration.Library, EntryPoint = "clRetainProgram")]
|
[DllImport(Configuration.Library, EntryPoint = "clRetainProgram")]
|
||||||
|
|
Loading…
Reference in a new issue