diff options
author | Michael Bien <[email protected]> | 2010-03-16 18:05:06 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-03-16 18:05:06 +0100 |
commit | 919d8e9f992c07ab18ddd6d192d6747e8d7aa40b (patch) | |
tree | 8a92dc8adb52758e1f09f2e87632e6f3f6ac695f /src/com/mbien/opencl/gl/CLGLTexture3d.java | |
parent | 81b94f83cb76128c481d21134c3d462590db23d0 (diff) |
even more utility methods and general awesomeness.
Diffstat (limited to 'src/com/mbien/opencl/gl/CLGLTexture3d.java')
-rw-r--r-- | src/com/mbien/opencl/gl/CLGLTexture3d.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/mbien/opencl/gl/CLGLTexture3d.java b/src/com/mbien/opencl/gl/CLGLTexture3d.java index 39224853..e1fef3a9 100644 --- a/src/com/mbien/opencl/gl/CLGLTexture3d.java +++ b/src/com/mbien/opencl/gl/CLGLTexture3d.java @@ -25,8 +25,8 @@ public class CLGLTexture3d<B extends Buffer> extends CLImage3d<B> implements CLG public final int mipMapLevel; - private CLGLTexture3d(CLContext context, B directBuffer, CLImageFormat format, CLImageInfoAccessor accessor, int target, int mipLevel, int width, int height, int depth, long id, int glid) { - super(context, directBuffer, format, accessor, width, height, depth, id); + private CLGLTexture3d(CLContext context, B directBuffer, CLImageFormat format, CLImageInfoAccessor accessor, int target, int mipLevel, int width, int height, int depth, long id, int glid, int flags) { + super(context, directBuffer, format, accessor, width, height, depth, id, flags); this.GLID = glid; this.target = target; this.mipMapLevel = mipLevel; @@ -51,7 +51,7 @@ public class CLGLTexture3d<B extends Buffer> extends CLImage3d<B> implements CLG int height = (int)accessor.getLong(CL_IMAGE_HEIGHT); int depth = (int)accessor.getLong(CL_IMAGE_DEPTH); - return new CLGLTexture3d<B>(context, directBuffer, format, accessor, target, mipLevel, width, height, depth, id, texture); + return new CLGLTexture3d<B>(context, directBuffer, format, accessor, target, mipLevel, width, height, depth, id, texture, flags); } public int getGLObjectID() { |