summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/CLSampler.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2011-05-25 00:21:37 +0200
committerMichael Bien <[email protected]>2011-05-25 00:21:37 +0200
commit10c82cf73a2c2e4a944d10294b7d51f4575e0f6e (patch)
treedbdcda2a5a663cce2d3e4b58af06385bdef6d4d5 /src/com/jogamp/opencl/CLSampler.java
parenta0b006f60512e30e362fbe8a15d4b40cc72609e2 (diff)
CLAccessor SPI - initial refactorings.
Diffstat (limited to 'src/com/jogamp/opencl/CLSampler.java')
-rw-r--r--src/com/jogamp/opencl/CLSampler.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/CLSampler.java b/src/com/jogamp/opencl/CLSampler.java
index f215cab1..63e25cb4 100644
--- a/src/com/jogamp/opencl/CLSampler.java
+++ b/src/com/jogamp/opencl/CLSampler.java
@@ -73,6 +73,7 @@ public class CLSampler extends CLObject implements CLResource {
return samplerInfo.getLong(CL_SAMPLER_NORMALIZED_COORDS) == CL_TRUE;
}
+ @Override
public void release() {
int ret = cl.clReleaseSampler(ID);
context.onSamplerReleased(this);
@@ -81,7 +82,7 @@ public class CLSampler extends CLObject implements CLResource {
}
}
- private class CLSamplerInfoAccessor extends CLInfoAccessor {
+ private class CLSamplerInfoAccessor extends CLTLInfoAccessor {
@Override
protected int getInfo(int name, long valueSize, Buffer value, NativeSizeBuffer valueSizeRet) {