View | Details | Raw Unified | Return to bug 400
Collapse All | Expand All

(-)a/src/com/jogamp/opencl/gl/CLGLTexture2d.java (-1 / +1 lines)
Lines 42-48 public class CLGLTexture2d<B extends Buffer> extends CLGLImage2d<B> implements C Link Here
42
        int width = (int)accessor.getLong(CL_IMAGE_WIDTH);
42
        int width = (int)accessor.getLong(CL_IMAGE_WIDTH);
43
        int height = (int)accessor.getLong(CL_IMAGE_HEIGHT);
43
        int height = (int)accessor.getLong(CL_IMAGE_HEIGHT);
44
44
45
        return new CLGLTexture2d<B>(context, directBuffer, format, accessor, target, mipLevel, width, height, id, width, flags);
45
        return new CLGLTexture2d<B>(context, directBuffer, format, accessor, target, mipLevel, width, height, id, texture, flags);
46
46
47
    }
47
    }
48
48

Return to bug 400