diff options
author | Wade Walker <[email protected]> | 2015-10-03 15:12:24 -0500 |
---|---|---|
committer | Wade Walker <[email protected]> | 2015-11-08 14:05:31 -0600 |
commit | 37c656e3290ff855e1752f9b8a4b830da3000b85 (patch) | |
tree | 76e0de5d788d0c250c076a481c1d376c2479c005 /src/com/jogamp/opencl/gl/CLGLImage2d.java | |
parent | 4f45fe8db1b5c3790ef2659995c2065807c3fe74 (diff) |
Remove creation and all references to CL*Binding interfaces
This completes the removal of all CL*Binding interfaces; all tests pass
at this point.
Diffstat (limited to 'src/com/jogamp/opencl/gl/CLGLImage2d.java')
-rw-r--r-- | src/com/jogamp/opencl/gl/CLGLImage2d.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/com/jogamp/opencl/gl/CLGLImage2d.java b/src/com/jogamp/opencl/gl/CLGLImage2d.java index 93c0bc3a..67616542 100644 --- a/src/com/jogamp/opencl/gl/CLGLImage2d.java +++ b/src/com/jogamp/opencl/gl/CLGLImage2d.java @@ -29,7 +29,6 @@ package com.jogamp.opencl.gl; import com.jogamp.opencl.llb.CL; -import com.jogamp.opencl.llb.CLImageBinding; import com.jogamp.opencl.llb.gl.CLGL; import com.jogamp.opencl.CLContext; import com.jogamp.opencl.CLException; @@ -75,10 +74,10 @@ public class CLGLImage2d<B extends Buffer> extends CLImage2d<B> implements CLGLO final CLImageInfoAccessor accessor = new CLImageInfoAccessor(getCL(context), id); final CLImageFormat format = createUninitializedImageFormat(); - accessor.getInfo(CLImageBinding.CL_IMAGE_FORMAT, CLImageFormatImpl.size(), format.getFormatImpl().getBuffer(), null); + accessor.getInfo(CL.CL_IMAGE_FORMAT, CLImageFormatImpl.size(), format.getFormatImpl().getBuffer(), null); - final int width = (int)accessor.getLong(CLImageBinding.CL_IMAGE_WIDTH); - final int height = (int)accessor.getLong(CLImageBinding.CL_IMAGE_HEIGHT); + final int width = (int)accessor.getLong(CL.CL_IMAGE_WIDTH); + final int height = (int)accessor.getLong(CL.CL_IMAGE_HEIGHT); return new CLGLImage2d<B>(context, directBuffer, format, accessor, width, height, id, glObject, flags); } |