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