aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Gouesse <[email protected]>2014-01-09 23:24:14 +0100
committerJulien Gouesse <[email protected]>2014-01-09 23:24:14 +0100
commit79afcc91c733f9f2cdd8a29d738b8ae185883d98 (patch)
treed74c8a773d73a8e9b446fe56b195d1f03edc2089
parent35d85ed7ce09251faa4022e13252a6a73e3caf1f (diff)
Fixes the implementation of setCursor in the JOGL NEWT backend again, the orientation of the icon was wrong
-rw-r--r--ardor3d-jogl/src/main/java/com/ardor3d/input/jogl/JoglNewtMouseManager.java2
1 files changed, 1 insertions, 1 deletions
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());