summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/CLPlatform.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-05-31 19:51:46 +0200
committerMichael Bien <[email protected]>2010-05-31 19:51:46 +0200
commitc5b1dc47f398597a127ebb7cdf72ab324b08a174 (patch)
tree690599a569f5f5a78f190eff45e414b4574759fd /src/com/jogamp/opencl/CLPlatform.java
parent8a5bbd80a3ffc3154b637e0b6c40342dfacb3576 (diff)
changes due to gluegen size_t fix. Switched back to PointerBuffer. 32bit systems are now supported again.
Diffstat (limited to 'src/com/jogamp/opencl/CLPlatform.java')
-rw-r--r--src/com/jogamp/opencl/CLPlatform.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/jogamp/opencl/CLPlatform.java b/src/com/jogamp/opencl/CLPlatform.java
index e2ece1ef..60eb2db0 100644
--- a/src/com/jogamp/opencl/CLPlatform.java
+++ b/src/com/jogamp/opencl/CLPlatform.java
@@ -45,7 +45,7 @@ public final class CLPlatform {
static{
try {
-// new UnixDynamicLinkerImpl().openLibraryGlobal("/usr/lib/jvm/java-6-sun/jre/lib/amd64/lbjsig.so", true);
+// new UnixDynamicLinkerImpl().openLibraryGlobal("/usr/lib/jvm/java-6-sun/jre/lib/amd64/libjsig.so", true);
// run the whole static initialization privileged to speed up,
// since this skips checking further access
@@ -283,7 +283,7 @@ public final class CLPlatform {
* Returns a info string in exchange for a key (CL_PLATFORM_*).
*/
public String getInfoString(int key) {
- Int64Buffer size = Int64Buffer.allocateDirect(1);
+ PointerBuffer size = PointerBuffer.allocateDirect(1);
// TODO use cache/query size
ByteBuffer bb = ByteBuffer.allocateDirect(512);