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

(-)../../Applications/jocl/src/com/jogamp/opencl/gl/CLGLTexture2d.java (-1 / +1 lines)
Lines 63-69 Link Here
63
        CLGL clgli = (CLGL)cl;
63
        CLGL clgli = (CLGL)cl;
64
64
65
        long id = clgli.clCreateFromGLTexture2D(context.ID, flags, target, mipLevel, texture, result, 0);
65
        long id = clgli.clCreateFromGLTexture2D(context.ID, flags, target, mipLevel, texture, result, 0);
66
        checkForError((int)id, "can not share memory with texture #"+texture+".");
66
        checkForError(result[0], "can not share memory with texture #"+texture+".");
67
67
68
        CLImageInfoAccessor accessor = new CLImageInfoAccessor(cl, id);
68
        CLImageInfoAccessor accessor = new CLImageInfoAccessor(cl, id);
69
69

Return to bug 579