diff options
Diffstat (limited to 'src/com/jogamp/opencl/CLMemory.java')
-rw-r--r-- | src/com/jogamp/opencl/CLMemory.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/com/jogamp/opencl/CLMemory.java b/src/com/jogamp/opencl/CLMemory.java index aac76790..e973fbab 100644 --- a/src/com/jogamp/opencl/CLMemory.java +++ b/src/com/jogamp/opencl/CLMemory.java @@ -152,14 +152,11 @@ public abstract class CLMemory <B extends Buffer> extends CLObject implements CL } } - public void close() { - release(); - } - - // kept only for debugging purposes + // TODO kept only temporary for debugging purposes /** * Returns the OpenGL buffer type of this shared buffer. */ + @Deprecated /*public*/ final GLObjectType _getGLObjectType() { int[] array = new int[1]; int ret = ((CLGLI)cl).clGetGLObjectInfo(ID, array, 0, null, 0); |