diff options
Diffstat (limited to 'src/com/jogamp/opencl')
-rw-r--r-- | src/com/jogamp/opencl/CLEventList.java | 2 |
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); } /** |