diff options
Diffstat (limited to 'src/com/mbien/opencl/CLSampler.java')
-rw-r--r-- | src/com/mbien/opencl/CLSampler.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/mbien/opencl/CLSampler.java b/src/com/mbien/opencl/CLSampler.java index e12fc43b..28b712a9 100644 --- a/src/com/mbien/opencl/CLSampler.java +++ b/src/com/mbien/opencl/CLSampler.java @@ -49,6 +49,10 @@ public class CLSampler extends CLObject implements CLResource { checkForError(ret, "can not release sampler"); } + public void close() { + release(); + } + private class CLSamplerInfoAccessor extends CLInfoAccessor { @Override |