summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/demos/joglinterop/JoglInterop.cl
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-01-02 00:20:47 +0100
committerMichael Bien <[email protected]>2010-01-02 00:20:47 +0100
commitcdb97544aee4ede51d5cf9356c0a21e6b6e71cdc (patch)
tree42d19c5992a29e90526cfcf344ec14bffefd39a7 /src/com/mbien/opencl/demos/joglinterop/JoglInterop.cl
parentfa7b42cb1b3f9932a07666a8886ef276efb2ddf0 (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.cl2
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);