On the file src/com/jogamp/opencl/gl/CLGLContext.java, the call for CLGLTexture3d.createFromGLTexture3d has the target/texture/flags order wrong. - CLGLTexture3d<B> buffer = CLGLTexture3d.createFromGLTexture3d(this, directBuffer, target, texture, mipmap, flags); + CLGLTexture3d<B> buffer = CLGLTexture3d.createFromGLTexture3d(this, directBuffer, flags, target, mipmap, texture); This might be related to Bug #553.
Fix included in this pull request: https://github.com/JogAmp/jocl/pull/2
Thank you!