diff options
author | Michael Bien <[email protected]> | 2010-01-02 00:20:47 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-01-02 00:20:47 +0100 |
commit | cdb97544aee4ede51d5cf9356c0a21e6b6e71cdc (patch) | |
tree | 42d19c5992a29e90526cfcf344ec14bffefd39a7 /src/com/mbien/opencl/demos/joglinterop/JoglInterop.cl | |
parent | fa7b42cb1b3f9932a07666a8886ef276efb2ddf0 (diff) |
removed __ in opencl code, modified sample to use real GL-CL interoperability.
Diffstat (limited to 'src/com/mbien/opencl/demos/joglinterop/JoglInterop.cl')
-rw-r--r-- | src/com/mbien/opencl/demos/joglinterop/JoglInterop.cl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/mbien/opencl/demos/joglinterop/JoglInterop.cl b/src/com/mbien/opencl/demos/joglinterop/JoglInterop.cl index 5b42eca..0f0bcfc 100644 --- a/src/com/mbien/opencl/demos/joglinterop/JoglInterop.cl +++ b/src/com/mbien/opencl/demos/joglinterop/JoglInterop.cl @@ -2,7 +2,7 @@ /** * animated 2D sine pattern. */ -__kernel void sineWave(__global float4 * vertex, int size, float time) { +kernel void sineWave(global float4 * vertex, int size, float time) { unsigned int x = get_global_id(0); unsigned int y = get_global_id(1); |