summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/CLEventList.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-06-25 10:41:25 +0200
committerSven Gothel <[email protected]>2013-06-25 10:41:25 +0200
commitb7e0e6e6ee645c11544609ed5cb90aca47773396 (patch)
tree63ccea408d7f3a23d6289062675fe66f68659cd1 /src/com/jogamp/opencl/CLEventList.java
parent80902692c3e9615cf0b9ea042ce5fdd38b98aa49 (diff)
Fix regression of commit 20a94528161909e12fdcbd06cf5affe89a37efb9: Missing positioning to desired index of duplicated PointerBuffer
Diffstat (limited to 'src/com/jogamp/opencl/CLEventList.java')
-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);
}
/**