From 919d8e9f992c07ab18ddd6d192d6747e8d7aa40b Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Tue, 16 Mar 2010 18:05:06 +0100 Subject: even more utility methods and general awesomeness. --- src/com/mbien/opencl/gl/CLGLTexture3d.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/com/mbien/opencl/gl/CLGLTexture3d.java') 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 extends CLImage3d 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 extends CLImage3d implements CLG int height = (int)accessor.getLong(CL_IMAGE_HEIGHT); int depth = (int)accessor.getLong(CL_IMAGE_DEPTH); - return new CLGLTexture3d(context, directBuffer, format, accessor, target, mipLevel, width, height, depth, id, texture); + return new CLGLTexture3d(context, directBuffer, format, accessor, target, mipLevel, width, height, depth, id, texture, flags); } public int getGLObjectID() { -- cgit v1.2.3