mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-02 02:41:13 +00:00
Do not import OpenCL namespace if "EXPERIMENTAL" is not defined.
This commit is contained in:
parent
4f1e320894
commit
6c2cf0e7fd
|
@ -1,11 +1,13 @@
|
||||||
using System;
|
#if EXPERIMENTAL
|
||||||
|
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using OpenTK.Compute.CL10;
|
using OpenTK.Compute.CL10;
|
||||||
|
|
||||||
namespace Examples
|
namespace Examples
|
||||||
{
|
{
|
||||||
#if EXPERIMENTAL
|
|
||||||
using cl_context = IntPtr;
|
using cl_context = IntPtr;
|
||||||
using cl_device_id = IntPtr;
|
using cl_device_id = IntPtr;
|
||||||
using cl_command_queue = IntPtr;
|
using cl_command_queue = IntPtr;
|
||||||
|
@ -138,5 +140,6 @@ vectorAdd(__global const float * a,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in a new issue