just having a small problem, i’m trying to setup a animated cursor using the lwjgl Cursor class, i have gotten it to work nicley with a single image using the following code
public Cursor getCursor(String ref,int x,int y) throws IOException, LWJGLException {
ByteBuffer buf = TextureLoader.loadImage(ResourceLoader.getResourceAsStream(ref), false);
return new Cursor(TGALoader.getLastWidth(), TGALoader.getLastHeight(), x, y, 1, buf.asIntBuffer(), null);
}
however i’m not quiet sure how to send it multiple images as an IntBuffer, any idea’s thx.