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+"."); |
68 |
CLImageInfoAccessor accessor = new CLImageInfoAccessor(cl, id); |
68 |
CLImageInfoAccessor accessor = new CLImageInfoAccessor(cl, id); |