From 79afcc91c733f9f2cdd8a29d738b8ae185883d98 Mon Sep 17 00:00:00 2001 From: Julien Gouesse Date: Thu, 9 Jan 2014 23:24:14 +0100 Subject: Fixes the implementation of setCursor in the JOGL NEWT backend again, the orientation of the icon was wrong --- .../src/main/java/com/ardor3d/input/jogl/JoglNewtMouseManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ardor3d-jogl/src/main/java/com/ardor3d/input/jogl/JoglNewtMouseManager.java b/ardor3d-jogl/src/main/java/com/ardor3d/input/jogl/JoglNewtMouseManager.java index a5d1ce5..10ca249 100644 --- a/ardor3d-jogl/src/main/java/com/ardor3d/input/jogl/JoglNewtMouseManager.java +++ b/ardor3d-jogl/src/main/java/com/ardor3d/input/jogl/JoglNewtMouseManager.java @@ -58,7 +58,7 @@ public class JoglNewtMouseManager implements MouseManager { } } - final PixelRectangle.GenericPixelRect rec = new PixelRectangle.GenericPixelRect(pixFormat, size, 0, false, + final PixelRectangle.GenericPixelRect rec = new PixelRectangle.GenericPixelRect(pixFormat, size, 0, true, pixels); final PointerIcon joglCursor = _newtWindow.getScreen().getDisplay() .createPointerIcon(rec, cursor.getHotspotX(), cursor.getHotspotY()); -- cgit v1.2.3