summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/CLSampler.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/CLSampler.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/CLSampler.java')
-rw-r--r--src/com/jogamp/opencl/CLSampler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/jogamp/opencl/CLSampler.java b/src/com/jogamp/opencl/CLSampler.java
index 015445e3..04751be2 100644
--- a/src/com/jogamp/opencl/CLSampler.java
+++ b/src/com/jogamp/opencl/CLSampler.java
@@ -34,7 +34,7 @@ import com.jogamp.common.nio.NativeSizeBuffer;
import java.nio.Buffer;
import static com.jogamp.opencl.CLException.*;
-import static com.jogamp.opencl.CL.*;
+import static com.jogamp.opencl.llb.CL.*;
import static com.jogamp.opencl.util.CLUtil.*;
/**
@@ -78,7 +78,7 @@ public class CLSampler extends CLObject implements CLResource {
public void release() {
int ret = cl.clReleaseSampler(ID);
context.onSamplerReleased(this);
- if(ret != CL.CL_SUCCESS) {
+ if(ret != CL_SUCCESS) {
throw newException(ret, "can not release "+this);
}
}