aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/CLObject.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2011-05-27 03:00:12 +0200
committerMichael Bien <[email protected]>2011-05-27 03:00:12 +0200
commita444a384b808e423f2e8377ff14c69b0c4be043a (patch)
tree56050afad314344ee8c99aa57698969da97b3d97 /src/com/jogamp/opencl/CLObject.java
parent08a479b22d4ba9da9ee79fc938ac4de7fb83dc5a (diff)
LLB refactoring.
- split up CL into multiple sub interfaces - seperation is now feature wise - introdused llb package for low level classes
Diffstat (limited to 'src/com/jogamp/opencl/CLObject.java')
-rw-r--r--src/com/jogamp/opencl/CLObject.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/jogamp/opencl/CLObject.java b/src/com/jogamp/opencl/CLObject.java
index 54031884..eb1f0abf 100644
--- a/src/com/jogamp/opencl/CLObject.java
+++ b/src/com/jogamp/opencl/CLObject.java
@@ -29,6 +29,7 @@
package com.jogamp.opencl;
import com.jogamp.common.AutoCloseable;
+import com.jogamp.opencl.llb.CL;
/**
* Common superclass for all OpenCL objects.
@@ -64,6 +65,7 @@ abstract class CLObject implements AutoCloseable {
* @see java.lang.AutoCloseable
*/
@Deprecated
+ @Override
public final void close() {
if(this instanceof CLResource) {
((CLResource)this).release();