From c5b1dc47f398597a127ebb7cdf72ab324b08a174 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Mon, 31 May 2010 19:51:46 +0200 Subject: changes due to gluegen size_t fix. Switched back to PointerBuffer. 32bit systems are now supported again. --- src/com/jogamp/opencl/CLDevice.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/com/jogamp/opencl/CLDevice.java') diff --git a/src/com/jogamp/opencl/CLDevice.java b/src/com/jogamp/opencl/CLDevice.java index 3b26e507..99ef3fe9 100644 --- a/src/com/jogamp/opencl/CLDevice.java +++ b/src/com/jogamp/opencl/CLDevice.java @@ -1,7 +1,7 @@ package com.jogamp.opencl; import com.jogamp.opencl.util.CLUtil; -import com.jogamp.common.nio.Int64Buffer; +import com.jogamp.common.nio.PointerBuffer; import com.jogamp.common.os.Platform; import java.nio.Buffer; import java.nio.ByteBuffer; @@ -516,7 +516,7 @@ public final class CLDevice extends CLObject { private final class CLDeviceInfoAccessor extends CLInfoAccessor { @Override - protected int getInfo(int name, long valueSize, Buffer value, Int64Buffer valueSizeRet) { + protected int getInfo(int name, long valueSize, Buffer value, PointerBuffer valueSizeRet) { return cl.clGetDeviceInfo(ID, name, valueSize, value, valueSizeRet); } -- cgit v1.2.3