diff --git a/src/java/org/lwjgl/input/Cursor.java b/src/java/org/lwjgl/input/Cursor.java index 2e22b66c..ea33638e 100644 --- a/src/java/org/lwjgl/input/Cursor.java +++ b/src/java/org/lwjgl/input/Cursor.java @@ -179,6 +179,17 @@ public class Cursor { // create our cursor elements cursors = new CursorElement[numImages]; for(int i=0; i> 24 & 0xff; + if(alpha != 0xff) { + images_copy.put(index, 0); + } + } + Object handle = Mouse.getImplementation().createCursor(width, height, xHotspot, yHotspot, 1, images_copy, null); long delay = (delays != null) ? delays.get(i) : 0; long timeout = System.currentTimeMillis();