summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/jogamp/opencl/CLEventList.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/CLEventList.java b/src/com/jogamp/opencl/CLEventList.java
index f07bf0a2..debebc4e 100644
--- a/src/com/jogamp/opencl/CLEventList.java
+++ b/src/com/jogamp/opencl/CLEventList.java
@@ -100,7 +100,7 @@ public final class CLEventList implements CLResource, AutoCloseable, Iterable<CL
}
PointerBuffer getEventBuffer(int index) {
- return IDs.duplicate();
+ return IDs.duplicate().position(index);
}
/**